Canvas (LMS)

The educational technology and digital learning wiki
Revision as of 12:03, 27 October 2016 by Daniel K. Schneider (talk | contribs) (Created page with "{{stub}} == Introduction == Canvas is a learning mangement system by Instructure. == Installation notes == (not completed, I tried this sometimes in 2014, but then got...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Draft

Introduction

Canvas is a learning mangement system by Instructure.

Installation notes

(not completed, I tried this sometimes in 2014, but then got sidetracked. Will pick it up again - Daniel K. Schneider (talk) 12:03, 27 October 2016 (CEST))


update
  cd canvas/
  sudo git branch -r
  sudo git pull

 cd config
Create *.yml files from *.yml.example
 E.g. 
 sudo cp database.yml.example database.yml

 sudo emacs database.yml

Install postgres
 sudo apt-get install postgresql-client
 sudo apt-get install postgresql-contrib
 sudo -u postgres psql
   CREATE EXTENSION adminpack;
   Ctrl-D
 sudo apt-get install pgadmin3

Install ruby and bundler

  sudo apt-get install software-properties-common
  sudo apt-add-repository ppa:brightbox/ruby-ng
  sudo apt-get update
  sudo apt-get install ruby2.1 ruby2.1-dev zlib1g-dev libxml2-dev libsqlite3-dev postgresql libpq-dev libxmlsec1-dev curl make g++
 
  sudo gem install bundler --version 1.7.11
  bundle install --path vendor/bundle --without=sqlite mysql

 sudo -u postgres createuser $USER
 sudo -u postgres psql -c "alter user $USER with superuser" postgres

 bundle install
 sudo RAILS_ENV=production bundle exec rake db:initial_setup


 sudo apt-get install libapache2-mod-passenger

Lancer en mode development sur la porte 3000
 bundle exec rails server

Links

Commercial
Open source version