This repo contains the backend for rootup.
Dependencies
- PostgreSQL
- Node.js
Environment Variables
- POSTGRES_PASS= [psql server password when you set it up]
- GMAIL_DOMAIN=gmail.com
- GMAIL_USERNAME= [the turninggreen email address]
- GMAIL_PASSWORD= [the turninggreen email's password]
For first-time users, do the following
- install PostgreSQL and Node.js
- set up environment variables above
bundle install
rails db:create
rails db:migrate
- Start PostgreSQL server(for Windows: it should automatically run, but if not:
net start [name of PostgreSQL service(ex: postgresql-x64-11)]
- Run
bundle update
- then
rails s
.