Skip to content

Instantly share code, notes, and snippets.

@dmitryrck
Last active September 10, 2017 22:01
Show Gist options
  • Save dmitryrck/30b68e4cf302b18d605f1dce05287f00 to your computer and use it in GitHub Desktop.
Save dmitryrck/30b68e4cf302b18d605f1dce05287f00 to your computer and use it in GitHub Desktop.
Zero to Up and Running a Rails Project only using Docker - README

My Blog

Running

Setup:

% docker-compose run --rm -u root web bash -c "mkdir -p /bundle/vendor && chown railsuser /bundle/vendor"
% docker-compose run --rm web bundle install
% docker-compose run --rm web bundle exec rake db:setup

Run:

% docker-compose up web

And go to localhost:3000.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment