- Node.js and npm Node ^6.5.9, npm ^3.*
- yarn ^0.24
- MongoDB - Keep a running daemon with
mongod^3.0 - pdftk pdftk_server-2.02
- imagemagick imagemagick ^7.0.4.6
- qpdf qpdf ^5.1.2
yarn testwill run the tests with karma and mocha.- You can also add
:frontor:backto run either front or back tests.
- You can also add
-
Run
yarn local-serverto start a server on a testing environment -
Run
yarn local-e2eto install a selenium webdriver and run protractor on it
-
Run
yarn installto install server dependencies -
Run
mongodin a separate shell to keep an instance of the MongoDB Daemon running -
Run
yarn devto start the development server. It should automatically open the client in your browser when ready.
yarn testwill run the tests with karma and mocha.- You can also add
:frontor:backto run either front or back tests.
- You can also add
-
Run
yarn local-serverto start a server on a testing environment -
Run
yarn local-e2eto install a selenium webdriver and run protractor on it
-
Run
yarn buildto install server dependencies -
Run
yarn startto run the app in production mode
Use docker-compose up to start the application within a docker container.
The docker application is bundled with an empty database.
We use PM2 deploy, pm2 deploy pm2.json to deploy the application and run it.
To build the UI bootstrap library (v0.13.3), create a custom build with these dependencies:
- Button
- Dropdown
- Modal
- Tooltip
- Typeahead