Skip to content

Instantly share code, notes, and snippets.

@jwsloan
Last active January 25, 2018 16:48
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jwsloan/1c4199195effe160f97de77922242109 to your computer and use it in GitHub Desktop.
Save jwsloan/1c4199195effe160f97de77922242109 to your computer and use it in GitHub Desktop.
Ruby on Rails on Docker

What You Should Do Beforehand

If you need help with these steps, tag @jwsloan in a question in the #ruby channel on NashDev Slack.

You don't have to do anything before you arrive, unless you'd like to follow along with Brandon during the live coding portion of the evening. If you think you would like to follow along, the following steps would be advised.

Note: You do not need Ruby, Rails, or Postgres installed on your machine. You don't even need to know how to use any of them. Docker has you covered.

  • Install Docker
  • Install docker-compose (If the above process did not already install it. Some do, some don't.)
  • Verify you can run docker and docker-compose in a terminal.
    $ docker -v
    $ docker-compose -v
    
  • To avoid everyone clogging up the network at the meetup, run these two commands.
    $ docker pull ruby:2.3.3
    $ docker pull postgres
    
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment