This is an application built on top of Sinatra and React that enables its users to keep track of their own reminders.
- Clone and cd into this repository
- Set the
HMAC_SECRET
environment variable as any string (example:export HMAC_SECRET=secret
) - Run
rake dev:install
- Run
rake db:reset
- Run
shotgun config.ru
- Open a new shell and run
rake dev:start_front
# Pull and run the application and PostgreSQL
$ docker run -d --name=postgres_db postgres:9.6.1
$ docker run -d --name=reminders -p 80:9292 -e HMAC_SECRET=any-secret \
--link=postgres_db:postgres_db sasalatart/reminders
# Setup the database
$ docker exec reminders rake db:reset
The server's machine should now be redirecting its port 80 to the container's port 9292.