Chef-Solo scripts to deploy Instructure Canvas on a Ubuntu 12.04LTS 64bit Machine
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
-
Clone the repo to your local machine
git clone https://github.com/neallawson/chef-canvas.git
-
Update your configs
cd chef-canvas vim node-canvas.json
-
Run the install ( Be sure your running this from the directory you cloned this project into.... )
sudo ./install-canvas.sh -i
-
Populate the Database
sudo -u canvas /bin/bash -c "( cd /opt/canvas/lms && RAILS_ENV=production bundle exec rake db:initial_setup ) "
-
Restart Nginx & Canvas_init
sudo /etc/init.d/nginx restart sudo /etc/init.d/canvas_init restart