CSAFE is a tool for transporting Chapman students safely.
This project is fully open sourced and licensed under Apache 2.0.
Boilerplate based on Docker container. To start using them, first, we have to make sure that Docker and docker-compose are installed.
$ docker-compose build
$ docker-compose run web bundle
$ docker-compose run web rails db:create
$ docker-compose run web rails db:migrate
To start the server, run the following magic command:
$ docker-compose up
Alternatively, you can setup the database using docker-compose and use rails on your machine.
$ docker-compose up db
$ bin/setup
$ bundle exec rails s
To avoid installing gems from scratch in each time when Gemfile will be updated, boilerplate has implemented persistent, cross-container dedicated volume for gems. Now in case when new entry to Gemfile is added, just run below command to update state:
$ docker-compose run web bundle
The current maintainers of this repository are: