Navigation Menu

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

trekdemo/beatalong

Repository files navigation

Development on Docker

Codeship Status for trekdemo/beatalong

The application can be runned over a docker environment. In order to do that, you'll have to download docker-toolbox.

Setup docker

Download docker toolbox from brew cask:

brew cask install dockertoolbox

Create a new VM with it:

docker-machine create --driver virtualbox default

Start the newly created VM

docker-machine start default

Whe opening a new terminal window, set docker's environment variables:

eval "$(docker-machine env default)"

Build the whole Docker environment

cd /to/your/application/folder
docker-compose build web
docker-compose build

Useful commands

  • start the application: docker-compose up
  • install new gems after modifiing the Gemfile: docker-compose run web bundle install
  • start a rails console: docker-compose run web bundle exec rails c
  • run the test suite: docker-compose run web bundle exec rspec

About

Share your favorite music with your friends!

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •