Skip to content

Running in docker...

Andrew Benedict Wallace edited this page Feb 1, 2019 · 8 revisions

https://github.com/RepoCamp/ucla2019 includes a docker-compose setup based on the one used in Californica, with a few customizations for this workshop.

  1. Install docker:
    • mac: brew cask install docker
    • linux: Use the official instructions to install from Docker's repository (the versions in standard repos can be fairly out of date).
    • windows: ...
  2. Launch docker - varies by OS - you should have a Docker Desktop service running in your status bar once docker is launched.
  3. Give docker more memory
    • mac: [Docker menu] >> Preferences >> Advanced, then [Docker menu] >> Restart
  4. Follow the californica docker setup info here https://github.com/UCLALibrary/californica#getting-started
    git clone https://github.com/RepoCamp/ucla2019.git
    cd ucla2019
    docker-compose run web bundle exec rake db:setup
    docker-compose up
    
  5. Follow the building from scratch info here https://github.com/RepoCamp/ucla2019/wiki/Building-from-Scratch