Spring 2018 (and possibly future) RevolutionUC University hackathon backend. Written in Node.js.
For the front end repository, visit RevolutionUC/revolutionuc-frontend.
Better docs coming soon...
git clone git@github.com:revolutionuc/revolutionuc-website.git
cd revolutionuc-website
npm install
cp .env.example .env
# get environment variables from someone with write access
npm run dev
Navigate to http://localhost:8080
in a browser.
If you have push access to the DO droplet, you can deploy the site by running:
git remote add dokku dokku@revolutionuc.com:revolutionuc.com
git push dokku master # this deploys the app
If necessary, please write tests for your contributions. End-to-end tests can be found in and/or added to test/e2e.js
. If you have a test that is not end-to-end you can add it to or create the appropriate file in the test
folder.
Running tests:
npm test
Happy contributing.