This repository has been archived by the owner on Sep 26, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 25
Setup Unix
Mauricio Giraldo edited this page Jan 27, 2016
·
9 revisions
- Install git:
sudo apt-get update
sudo apt-get install git
- 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
- 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
- Install Node:
sudo apt-get install nodejs
sudo apt-get install npm
npm config set registry http://registry.npmjs.org/
- Clone project:
cd /my/projects/folder
git clone https://github.com/zooniverse/scribeAPI.git
cd scribeAPI
- Setup gems and modules:
bundle
npm install
-
Setup your project (replace 'PROJECT_KEY' with the name of your project e.g. 'emigrant')
rake project:load['PROJECT_KEY']
-
Run the server:
rails s
, and go to http://localhost:3000 in your browser
Next step: Creating Your Project
- Getting Started
-
Setting up your Project
- Setup Your Environment
- Configure your project
- Load your project
- Code & Technical Notes
- Project Reference