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 Mac OSX
John Scancella edited this page Jun 13, 2018
·
7 revisions
-
Open Terminal, install Homebrew
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
-
Install Git
brew update brew install git git --version
-
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
-
Install and start MongoDB
brew install mongodb mkdir -p /data/db chown `whoami`:admin /data/db mongod
-
Install node. Note that you have to install a older version of node since new versions are not compatible.
brew install node@4 npm -v
-
Clone repository
cd /your/web/apps/folder git clone https://github.com/zooniverse/scribeAPI.git cd scribeAPI
-
Install gems and modules
gem install bundle # if you don't already have it bundle install npm install
-
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
- Getting Started
-
Setting up your Project
- Setup Your Environment
- Configure your project
- Load your project
- Code & Technical Notes
- Project Reference