- Clone
git clone https://github.com/dashersw/dovecote.git
- Install deps
npm install
- Add some test data
npm run add-initial-data
email: test@dove-cote.co, password: asdf123
- DOCKER_CERT_DIR
In order to connect secure docker machines, you must set the environment variableDOCKER_CERT_DIR
as your folder path of the credentialsca.pem, cert.pem, key.pem
. - DOCKER_NODE_VERSION
By default dovecote comes withnode 4.2.2
. You can set other versions by changingDOCKER_NODE_VERSION
.
Run npm start
in root folder and npm start
in frontend folder will
start servers at http://localhost:3001 (main backend server) and http://localhost:3000
(webpack server) respectively.
Access through http://localhost:3000 and it will proxy requests to backend if it cannot serve itself.
Generate the minified bundle using npm run fe_build. Then run npm run production_start
npm run fe_build
npm production_start