proper sample server
This commit is contained in:
parent
bd9a80827e
commit
95e0496d51
4 changed files with 205 additions and 39 deletions
15
packages/sampler/README.md
Normal file
15
packages/sampler/README.md
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
# @strudel/sampler
|
||||
|
||||
This package allows you to serve your samples on disk to the strudel REPL.
|
||||
|
||||
```sh
|
||||
cd ~/your/samples/
|
||||
npx @strudel/sampler
|
||||
```
|
||||
|
||||
This will run a server on `http://localhost:5432`.
|
||||
You can now load the samples via:
|
||||
|
||||
```js
|
||||
samples('http://localhost:5432')
|
||||
```
|
||||
Loading…
Add table
Add a link
Reference in a new issue