Skip to content

Latest commit

 

History

History
38 lines (29 loc) · 925 Bytes

README.md

File metadata and controls

38 lines (29 loc) · 925 Bytes

chef-canvas

Chef-Solo scripts to deploy Instructure Canvas on a Ubuntu 12.04LTS 64bit Machine

Instructions

Make sure the data in node-canvas.json is good for your setup.

One thing you will likely wish to change is the FQDN parameter to tell apache where to host yourcanvas.yourdomain.com

  1. Clone the repo to your local machine

    git clone https://github.com/neallawson/chef-canvas.git
  2. Update your configs

    cd chef-canvas
    vim node-canvas.json
  3. Run the install ( Be sure your running this from the directory you cloned this project into.... )

    sudo ./install-canvas.sh -i
  4. Populate the Database

     sudo -u canvas /bin/bash -c "( cd /opt/canvas/lms && RAILS_ENV=production bundle exec rake db:initial_setup ) "
  5. Restart Nginx & Canvas_init

    sudo /etc/init.d/nginx restart
    sudo /etc/init.d/canvas_init restart