From d8e749cecfa41e9ff7e58c0ffe05db2c195c7136 Mon Sep 17 00:00:00 2001 From: Revant Nandgaonkar Date: Wed, 21 Mar 2018 15:18:01 +0530 Subject: [PATCH] yarn link in docs --- Procfile | 2 ++ docs/app.md | 21 +++++++++++++++++++++ 2 files changed, 23 insertions(+) create mode 100644 Procfile 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