- Before startup th application you need to start MongoDB (scripts example you can see in
mongodb/01-createDB.sh
&mongodb/02-startDB.sh
) - Create
.env
file and put it in to the root of repository (example in .env.example)
- Install dependencies:
npm install
- Bootstrap the packages in the current Lerna repo:
npm run bootstrap
- Start backend:
npm run dev:backend
- Start webpack-dev-server:
npm run dev:frontend
If you want to build in specific directory then you'll need to set WEBPACK_OUTPUT
variable in .env
file. By default
the output directory is client/react-front/dist
npm run build:frontend