Skip to content

Latest commit

 

History

History
38 lines (27 loc) · 516 Bytes

INSTALLATION.md

File metadata and controls

38 lines (27 loc) · 516 Bytes

INITIAL SET UP

INSTALLATION ON MACOSX

brew update
brew install docker
brew install docker-compose
brew install docker-machine

INSTALLATION ON WINDOWS

  • Install DockerToolbox

DEVELOPMENT ENVIRONMENT

docker-machine start
docker-machine env
docker-compose up -d

CREATE DB

  • Config database in config/database.yml
  • Run command
docker-compose run rb1 bin/rake db:create
docker-compose run rb1 bin/rake db:migrate

RUN TEST

docker-compose run rb1 bin/rails test