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

Setup Mac OSX

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

Scribe Setup in OSX

  1. Open Terminal, install Homebrew

    ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
    
  2. Install Git

    brew update
    brew install git
    git --version
    
  3. Install RVM/Ruby/Rails

    curl -L https://get.rvm.io | bash -s stable --auto-dotfiles --autolibs=enable --rails
    

    Quit and reload terminal, then install Ruby version 2.1.5

    rvm install 2.1.5
    rvm use 2.1.5 --default
    
  4. Install and start MongoDB

    brew install mongodb
    mkdir -p /data/db
    chown `whoami`:admin /data/db
    mongod
    
  5. Install node

    brew install node
    npm -v
    
  6. Clone repository

    cd /your/web/apps/folder
    git clone https://github.com/zooniverse/scribeAPI.git
    cd scribeAPI
    
  7. Install gems and modules

    bundle install
    npm install
    
  8. Load a project (replace 'PROJECT_KEY' with the name of your project e.g. 'emigrant') and start your server

    rake project:load['PROJECT_KEY']
    rails s
    

    Go to http://localhost:3000/ in your browser

Next step: Creating Your Project