Skip to content

Instantly share code, notes, and snippets.

@candidosales
Created May 21, 2013 23:51
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save candidosales/5624237 to your computer and use it in GitHub Desktop.
Save candidosales/5624237 to your computer and use it in GitHub Desktop.
Instalação do Canvas no ubuntu
--------------PostgreSQL
sudo apt-get install postgresql-9.1
sudo apt-get install postgresql-server-dev-9.1
sudo -u postgres createuser candidosg
--------------Node
sudo add-apt-repository ppa:chris-lea/node.js
$ sudo apt-get update
$ sudo apt-get install nodejs
--------------Typheous
sudo apt-get install curl
sudo apt-get install libcurl3 libcurl3-dev
--------------Ruby Dev and others dependecies
sudo apt-get install ruby1.9.1 ruby1.9.1-dev zlib1g-dev rubygems1.9.1 libxml2-dev libxslt1-dev \
libsqlite3-dev libhttpclient-ruby imagemagick irb1.9.1 coffeescript \
libxmlsec1-dev postgresql
--------------Mysql
sudo apt-get install mysql-server
sudo apt-get install libmysqlclient-dev
--------------Dependencies Canvas
sudo apt-get install make
sudo apt-get install postgresql-server-dev-9.1
--------------Problem undefined method `searcher` for Gem:Module
gem install rubygems-update -v 1.8.25
gem update --system 1.8.25
--------------Canvas
~$ git clone https://github.com/instructure/canvas-lms.git canvas
~$ cd canvas
~/canvas$ git checkout --track -b stable origin/stable
*
~/canvas$bundle install --path vendor/bundle --without=sqlite
*
~/canvas$bundle install --path vendor/bundle --without=mysql
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment