- Clone the repo
- Configure your env variables, see the
.env.example
file for the required environment variables. This includes a mailgun api key (feel free to replace with your own mailing service) - Run
node seed-database
to seed the database with fake data (or skip if you want a blank copy) - install all packages
npm install
- Build the app
npm install
To run the app locally:
- Start webpack
webpack-dev-server
- Start mongodb
- Run
npm start
This app requires npm and nodejs
Tests are run using protractor follow the installation instructions first and make sure protractor and webdriver are working.
Make sure that:
- the app is running
- a selenium session is active
webpack-dev-server
is running
you can use npm run pre-test
to do both of these, then you can run the e2e tests using npm run test
. This should start a selenium session in chrome and run through the test suite.