Canvas (LMS)

The educational technology and digital learning wiki
Jump to navigation Jump to search

Draft

Introduction

Canvas is a learning management system by Instructure.

As of 2015, this system was gaining popularity in higher education, often as replacement for blackboard or (commercial) Moodle.

Canvas is easy to use and includes most of the typical features that are needed in an LMS used in formal education.

There is also a free version (more about that later).

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