This repository contains code which powers the Bethel platform at my.bethel.io
Currently in private beta. Always open source.
Built in Node and powered by Sails.
- Node 6.x
- MongoDB
- Run
npm install
to get the NPM dependencies. - Download and install the Java Runtime Environment (JRE) and the Java Development Kit (JDK) in order to run end-to-end tests through Selenium.
- Run
./scripts/setup
to create a local configuration file. You will need to be logged in via the Heroku Toolbelt with appropriate access to production. - Create a new MongoDB instance locally using Docker and Kitematic.
- Edit
config/local.js
to edit the port number of Mongo (if necessary.)
If you have access to the production database, you can pull data straight from
the production server by running ./scripts/copydb --local
.