Skip to content
This repository has been archived by the owner on Mar 3, 2024. It is now read-only.

Latest commit

 

History

History
65 lines (48 loc) · 869 Bytes

README.md

File metadata and controls

65 lines (48 loc) · 869 Bytes

Dert

Development

Dependencies:

  • Docker (incl. Docker Compose, which already part of Docker for Mac and Docker Toolbox)

Setup

cp .env-example .env

Build the containers:

docker-compose build

Start up all of the containers:

docker-compose up

Visit http://localhost:3000

Install new dependencies

Add the dependency to the Gemfile and run:

docker-compose run web bundle

Followed by:

docker-compose build

Database

Create:

docker-compose run web bin/rails db:create

Migrations:

docker-compose run web bin/rails db:migrate

Seed:

docker-compose run web bin/rails db:seed

Testing

Uses rspec

docker-compose run web bin/rspec

To use guard to watch the tests:

docker-compose run web bin/guard