Skip to content

Latest commit

 

History

History
25 lines (18 loc) · 647 Bytes

File metadata and controls

25 lines (18 loc) · 647 Bytes

A Rails API for tracking personal activity

Uses pete-client as the client

Getting started

Create a .env file using the following template:

STRAVA_CLIENT_ID=<CLIENT_ID>
STRAVA_CLIENT_SECRET=<CLIENT_SECRET>
POSTGRES_USER=<POSTGRES_USER>
POSTGRES_DB=<POSTGRES_DB>
POSTGRES_PASSWORD=<POSTGRES_PASSWORD>

The application is setup to be run using, so only requirement is to have docker and docker-compose installed:

# start server and database containers
docker-compose up -d

# initial database setup and migrations
docker-compose exec app bundle exec rake db:setup db:migrate