mirror of
https://github.com/lowdefy/lowdefy.git
synced 2025-02-23 14:39:32 +08:00
chore: Update readme on building shell in dev mode.
This commit is contained in:
parent
5403eea9c8
commit
c4c81be796
@ -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`.
|
||||||
|
@ -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"
|
||||||
|
Loading…
Reference in New Issue
Block a user