updated readme

This commit is contained in:
Michael Shanks 2020-03-10 10:19:49 +00:00
parent c26405e059
commit 693c33d48a
1 changed files with 4 additions and 15 deletions

View File

@ -70,30 +70,19 @@ yarn run budi new your-app-name
now build and publish the latest budibase libs, to your new app
```
# from root of repo
cd ../..
# now back in the root of the repository
yarn run publishdev
```
then
...
cd packages/server
`yarn run budi` and to run the budibase server
...
run the budibase server and builder in dev mode (i.e. with hot reloading):
if you then want to run the builder in dev mode (i.e. with hot reloading):
... keep the server running, and..
1. Open a new console
2. `yarn dev`
2. `yarn dev` (from root)
3. Access the builder on http://localhost:3000
...
If you get an error:
lerna ERR! yarn run dev:builder exited 1 in '@budibase/server'
run lsof -ti :4001 | xargs kill
...
This will enable watch mode for both the client AND the server.
### Running Commands from /server Directory