Canvas (LMS): Difference between revisions

The educational technology and digital learning wiki
Jump to navigation Jump to search
(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...")
 
mNo edit summary
Line 3: Line 3:
== Introduction ==
== Introduction ==


Canvas is a [[learning mangement system]] by Instructure.
Canvas is a [[learning management system]] by Instructure.


== Installation notes ==
== Installation notes ==
Line 65: Line 65:


* https://community.canvaslms.com/thread/12241
* https://community.canvaslms.com/thread/12241
[[category: Learning management systems]]

Revision as of 11:03, 27 October 2016

Draft

Introduction

Canvas is a learning management 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