canvas-lms/doc/docker
Tyler Pickett 08b1d698e1 remove docker-toolbox for macOS as a viable way to use docker
Change-Id: I9e38843083ea97045a817f0b13d73ba9c453ca10
Reviewed-on: https://gerrit.instructure.com/117888
Reviewed-by: Bryan Petty <bpetty@instructure.com>
Product-Review: Tyler Pickett <tpickett@instructure.com>
QA-Review: Tyler Pickett <tpickett@instructure.com>
Tested-by: Tyler Pickett <tpickett@instructure.com>
2017-07-05 19:11:23 +00:00
..
README.md Add some clarifying info to the docker docs 2017-01-25 22:50:12 +00:00
developing_with_docker.md fix documentation for selenium w/ docker 2017-04-17 17:03:18 +00:00
getting_docker.md remove docker-toolbox for macOS as a viable way to use docker 2017-07-05 19:11:23 +00:00

README.md

Using Docker to run Canvas

Prerequisites

You need Docker. Don't have Docker yet? Go here for details on getting it setup.

Development

These commands should get you going

cp docker-compose/config/* config/
docker-compose run --rm web bash -c "bundle install"
docker-compose run --rm web bash -c "bundle exec rake db:create db:initial_setup"

Now you can do docker-compose up and you should be good to go. If you're using Dinghy or Dory. You should be able to access Canvas by going to: http://web.canvaslms.docker/

On Linux you may want to run this to avoid a few permissions issues:

touch mkmf.log .listen_test
chmod 777 !:2 !:3
sudo chown -R `whoami`:9999 .
chmod 775 gems/canvas_i18nliner
chmod 775 . log tmp gems/selinimum gems/canvas_i18nliner
chmod 664 ./app/stylesheets/_brand_variables.scss

For more information checkout Developing with Docker