Skip to content
This repository has been archived by the owner on Oct 9, 2019. It is now read-only.

(legacy) Development repository for RevolutionUC website

License

Notifications You must be signed in to change notification settings

RevolutionUC/revolutionuc-website

Repository files navigation

revolutionuc-website

MIT license Build Status Dependency Status devDependency Status stable

Spring 2018 (and possibly future) RevolutionUC University hackathon backend. Written in Node.js.

For the front end repository, visit RevolutionUC/revolutionuc-frontend.

Development

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.

Deploying

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

Tests

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.