diff --git a/Procfile b/Procfile new file mode 100644 index 00000000..0a9101b6 --- /dev/null +++ b/Procfile @@ -0,0 +1,2 @@ +server: nodemon server.js +watch: rollup -c --watch diff --git a/docs/app.md b/docs/app.md index 4b309a1a..482bef43 100644 --- a/docs/app.md +++ b/docs/app.md @@ -42,10 +42,31 @@ Sample index.html + ``` +## For development setup + +Clone frappejs in the same folder as your app, since you will be developing frappejs on the side. + +### Link frappejs + +```sh +# make frappejs linkable +cd frappejs + +yarn link +yarn link frappejs + +# link frappejs in all +cd ../myapp +yarn link frappejs + +# install libs +yarn +``` ### server.js