2
0
mirror of https://github.com/frappe/books.git synced 2024-11-08 23:00:56 +00:00

Merge pull request #38 from revant/master

yarn link in docs
This commit is contained in:
Revant Nandgaonkar 2018-03-21 15:22:42 +05:30 committed by GitHub
commit dc6eab2d61
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 23 additions and 0 deletions

2
Procfile Normal file
View File

@ -0,0 +1,2 @@
server: nodemon server.js
watch: rollup -c --watch

View File

@ -42,10 +42,31 @@ Sample index.html
<link href="/dist/css/style.css" rel="stylesheet">
</head>
<body>
<script src="/dist/js/socket.io.js"></script>
<script src="js/bundle.js"></script>
</body>
</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