UXSoc / CSAFE-Chapman-University

Chapman University SE320 Development & Test
Apache License 2.0
0 stars 1 forks source link
chapman-university docker docker-compose ruby

CSAFE-Chapman-University

License

Introduction

CSAFE is a tool for transporting Chapman students safely.

This project is fully open sourced and licensed under Apache 2.0.

Development

Requirements

Boilerplate based on Docker container. To start using them, first, we have to make sure that Docker and docker-compose are installed.

Build

$ docker-compose build
$ docker-compose run web bundle
$ docker-compose run web rails db:create
$ docker-compose run web rails db:migrate

Getting Started

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

Update Gemset

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

Maintainers

The current maintainers of this repository are: