A tool for managing garbage collection, common financial expenses and other student dorm related responsibilities
$ docker-compose build
$ docker-compose up
$ docker exec dormmanagementtool_backend_1 bundle exec rake db:reset
to initialize the databaseIf this is not the first time you start the app, you can use either $ docker-compose up
or $ docker-compose scale backend=1 db=1
.
To stop the application, run $ docker-compose scale backend=0 db=0
. Important: do not use $ docker-compose down
as this will also remove the database.