- 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 test
will run the tests with karma and mocha.- You can also add
:front
or:back
to run either front or back tests.
- You can also add
-
Run
yarn local-server
to start a server on a testing environment -
Run
yarn local-e2e
to install a selenium webdriver and run protractor on it
-
Run
yarn install
to install server dependencies -
Run
mongod
in a separate shell to keep an instance of the MongoDB Daemon running -
Run
yarn dev
to start the development server. It should automatically open the client in your browser when ready.
yarn test
will run the tests with karma and mocha.- You can also add
:front
or:back
to run either front or back tests.
- You can also add
-
Run
yarn local-server
to start a server on a testing environment -
Run
yarn local-e2e
to install a selenium webdriver and run protractor on it
-
Run
yarn build
to install server dependencies -
Run
yarn start
to 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