This is a mandatory exercise for Ruby on Rails -course at University of Helsinki.
Live instance can be found at: ratebeer.codecache.eu
-
Clone repository
-
Create
config/master.key
-
cp .env.example .env
and set correct values to variables -
Run
sudo docker-compose up -d
-
Drop shell inside
ratebeer
container and runrails db:migrate
-
Pull latest changes:
git pull
-
Stop current instance of app
-
Run
sudo docker-compose build
-
Start app:
sudo docker-compose up -d
-
Drop shell inside
ratebeer
container and runrails db:migrate