Chef-Solo scripts to deploy Instructure Canvas on a Ubuntu 12.04LTS 64bit Machine
Ruby Shell
Switch branches/tags
Nothing to show
Pull request Compare This branch is 6 commits ahead of ssilverm:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
cookbooks
.gitignore
README.md
chef-solo-config.rb
install-canvas.sh
node-canvas.json

README.md

chef-deploy-scripts for arrivu applications

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