Subject: How to install Canvas Test version on Ubuntu 14.04
Author: Linux
Posted on: 07/09/2017 11:09:56 AM
Environment:
Machine -- VM with VMAWRE 12.0 on Windows 10; OS -- Ubuntu 14.04Process:
# Download the automation script:
~$ curl -O https://raw.githubusercontent.com/FreedomBen/canvas-development-tools/master/CODES.sh
# Make the script executable:
~$ chmod +x CODES.sh
# Do this FIRST, before running CODES.sh; the script does something else entirely
~$ curl -sL https://deb.nodesource.com/setup_6.x | sudo bash -
~$ sudo apt-get install nodejs postgresql
# next, add the ppa:brightbox/ruby-ng and install Ruby 2.4.1
~$ sudo apt-get install software-properties-common
~$ sudo add-apt-repository ppa:brightbox/ruby-ng
~$ sudo apt-get update
~$ sudo apt-get install ruby2.4.1 ruby2.4-dev libxmlsec1-dev
# Canvas using Yarn, install it with :
~$ curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add -
~$ echo "deb https://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/sources.list.d/yarn.list
~$ sudo apt-get update && sudo apt-get install yarn
# NOW, run CODES.sh
~$ ./CODES.sh --full
# after the setup completes, cd to the canvas root directory
~$ cd ~/canvas-lms
~$ bundle exec rails server
# Check to verify it works by pointing your browser to
http://localhost:3000/
References: