![]() 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> |
||
---|---|---|
.. | ||
README.md | ||
developing_with_docker.md | ||
getting_docker.md |
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