-
-
Notifications
You must be signed in to change notification settings - Fork 75
10. Development Instructions
TurtIeSocks edited this page May 24, 2022
·
1 revision
- Follow steps 1-6 on the Standard Setup Page
- Open two consoles
-
yarn devin one, starts the server with nodemon -
yarn watchin the other, this automatically re-compiles your bundle for faster development.
The dev yarn scripts do not generate the masterfile and locales like the production scripts do, you must generate them manually using these:
-
yarn generateif you want to experiment with the masterfile generator -
yarn create-localesif you want to generate locales manually -
yarn missing-localesgenerates JSONs that have a list of the missing keys for each locale -
yarn buildto only build and not run the server -
yarn serverto only start the server without recompiling webpack -
yarn consolerepl server for running code/playing with the ORM -
yarn migrate:make addNewFeatureto generate a new migration file called 'addNewFeature'