asari-mtr / rails-with-postgres

rails5, postgres on docker

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

README

This README would normally document whatever steps are necessary to get the application up and running.

Things you may want to cover:

  • Ruby version

  • System dependencies

  • Configuration

  • Database creation

  • Database initialization

  • How to run the test suite

  • Services (job queues, cache servers, search engines, etc.)

  • Deployment instructions

  • ...

To run

# run
docker-compose up

# down
docker-compose down

# migrate
docker-compose run --rm app rake db:create

About

rails5, postgres on docker


Languages

Language:Ruby 76.9%Language:HTML 15.2%Language:JavaScript 3.2%Language:CSS 1.9%Language:Dockerfile 1.6%Language:CoffeeScript 1.3%