/drp

Web application that allows its users to find solutions to PC problems.

Primary LanguageJavaScriptGNU General Public License v3.0GPL-3.0

Web application that allows its users to find solutions to PC problems.

Development

  • 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)
  1. Install dependencies:
npm install
  1. Bootstrap the packages in the current Lerna repo:
npm run bootstrap
  1. Start backend:
npm run dev:backend
  1. Start webpack-dev-server:
npm run dev:frontend

Build front-end

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