Skip to content
This repository has been archived by the owner on Sep 22, 2022. It is now read-only.

Latest commit

 

History

History
53 lines (36 loc) · 960 Bytes

README.md

File metadata and controls

53 lines (36 loc) · 960 Bytes

README

Ensure dependencies are up-to-date

Periodically run the following two commands to ensure your ruby and node dependencies are up to date:

docker-compose run web bundle install
docker-compose run web yarn install

Create the development and test databases

First start up the database container:

docker-compose up --detach db

Then verify that the container is running:

docker-compose ps

The output should look like:

      Name                    Command              State    Ports
-------------------------------------------------------------------
projectname_db_1   docker-entrypoint.sh postgres   Up      5432/tcp

Run the following to create the database:

docker-compose run web rails db:create

Start up the containers:

docker-compose up

Then verify that the containers are running:

docker-compose ps

The app should be running at http://localhost:3000/