chore: Update readme on building shell in dev mode.

This commit is contained in:
SamTolmay 2021-08-16 12:50:58 +02:00
parent 5403eea9c8
commit c4c81be796
No known key found for this signature in database
GPG Key ID: 655CB3F5AA745CF8
2 changed files with 2 additions and 0 deletions

View File

@ -8,6 +8,7 @@ The server consists of a Lowdefy Graphql server, and a static file server to ser
## Running a development server ## Running a development server
- Build the repository in development mode by running `yarn build:dev` at the root of the repository.
- Create a `lowdefy.yaml` file in the root of the package directory, and build this configuration with the cli using `lowdefy build`. - Create a `lowdefy.yaml` file in the root of the package directory, and build this configuration with the cli using `lowdefy build`.
- Build the dev server using `yarn build`. - Build the dev server using `yarn build`.
- Run the dev server using `yarn start`. - Run the dev server using `yarn start`.

View File

@ -32,6 +32,7 @@
"scripts": { "scripts": {
"babel": "babel src/location.js --out-dir dist", "babel": "babel src/location.js --out-dir dist",
"build": "yarn webpack && yarn babel", "build": "yarn webpack && yarn babel",
"build:dev": "NODE_ENV=development yarn webpack && yarn babel",
"clean": "rm -rf dist", "clean": "rm -rf dist",
"prepare": "yarn build", "prepare": "yarn build",
"webpack": "webpack --config webpack.config.js" "webpack": "webpack --config webpack.config.js"