/workouts

A workout tracker for workout challenges

Primary LanguageRuby

Workouts

Local

Setup:

bin/app setup

Run:

bin/app start

Sinatra console:

bin/app console

Production

# Generate a key to be used as the signing secret
export SESSION_SECRET=$(ruby -rsecurerandom -e 'p SecureRandom.hex(32)' | tr -d '"')

# [OPTIONAL] Specify a port. Defaults to 8080
export APP_PORT=4567

# [OPTIONAL] Specify a docker tag to use. Defaults to `latest`.
export DOCKER_TAG=f51972ba0999a92471d300d9a2143f5bf2eb31a5
docker compose build
docker compose up