Skip to content
This repository has been archived by the owner on Sep 26, 2019. It is now read-only.

Setup Unix

Mauricio Giraldo edited this page Jan 27, 2016 · 9 revisions

Scribe Setup in Unix

  1. Install git:
sudo apt-get update
sudo apt-get install git
  1. Install & start mongodb:
sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv 7F0CEB10
echo 'deb http://downloads-distro.mongodb.org/repo/ubuntu-upstart dist 10gen' | sudo tee /etc/apt/sources.list.d/mongodb.list
sudo apt-get update
sudo apt-get install -y mongodb-org
sudo service mongodb start
  1. Install RVM & Ruby:
sudo apt-get install curl
\curl -sSL https://get.rvm.io | bash
source /home/`whoami`/.rvm/scripts/rvm
rvm requirements
rvm install 2.1.5
rvm use 2.1.5 --default
  1. Install Node:
sudo apt-get install nodejs
sudo apt-get install npm
npm config set registry http://registry.npmjs.org/
  1. Clone project:
cd /my/projects/folder
git clone https://github.com/zooniverse/scribeAPI.git
cd scribeAPI
  1. Setup gems and modules:
bundle
npm install
  1. Setup your project (replace 'PROJECT_KEY' with the name of your project e.g. 'emigrant')

    rake project:load['PROJECT_KEY']

  2. Run the server: rails s, and go to http://localhost:3000 in your browser

Next step: Creating Your Project