Skip to content

Initial Docker Setup

Bess Sadler edited this page Sep 6, 2019 · 10 revisions

Running with Docker Compose

  1. Clone the ucla2019 github repo and cd to that location:

    • git clone https://github.com/RepoCamp/ucla2019.git
    • cd ucla2019
  2. To start:

docker-compose run web rails db:setup
docker-compose up
Rails will be running on port 3000. Open a web browser and go to `http://localhost:3000` and you should see a copy of the Hyrax application we'll be using for camp this week.
  1. To run the test suite ("specs"), leave the processes running that you started with docker-compose up and open a new terminal window, then run:
docker-compose run web rspec