Skip to content

Commit

Permalink
[WIP] Tweak Development Setup
Browse files Browse the repository at this point in the history
Minor tweaks to #3251, all aiming to continue to smooth the ride.

- be explicit about versions of dependencies.
- rely on package managers for installing software.
- ...

(this is WIP)
  • Loading branch information
jtigger committed Dec 14, 2016
1 parent 219211f commit 9b493ea
Showing 1 changed file with 29 additions and 11 deletions.
40 changes: 29 additions & 11 deletions docs/setting-up-local-development.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,23 +4,41 @@ This section walks you through getting the exercism.io app running locally.

## Prerequisites

### To run the application locally
Exercism.io depends on the following being installed:

Backend:
- Ruby (see [`Gemfile`](https://github.com/exercism/exercism.io/blob/master/Gemfile#L3) for exact version).
- PostgreSQL (8.4 or later)
- Node.js (0.10 or later)

- Ruby
- PostgreSQL
These instructions assume you're using a package manager for your OS:

Frontend:
- Mac OS X — [Homebrew](http://brew.sh)
- Windows — [Chocolatey](https://chocolatey.org/install)
- Linux — (whichever comes with your distro, we'll refer to `apt-get`)

- Node.js
### Installing Ruby

To install Ruby, check out [RVM](https://rvm.io/rvm/install), [rbenv](https://github.com/rbenv/rbenv#installation) or [ruby-install](https://github.com/postmodern/ruby-install#install).
(see [`Gemfile`](https://github.com/exercism/exercism.io/blob/master/Gemfile#L3) for exact version of Ruby to install).

To install PostgreSQL:
- For Mac OS X with [Homebrew](http://brew.sh), run: `brew install postgresql`
- For Linux systems with apt-get, run: `apt-get install postgresql postgresql-contrib`
- For Windows, download an installer from the [PostgreSQL website](https://www.postgresql.org/download/windows/)
- Mac OS X:

```
$ brew install rbenv
$ rbenv install X.Y.Z
```
- Windows:

```
$ choco install ruby --version X.Y.Z
```
- Linux:


### Installing PostgreSQL

- Mac OS X: `brew install postgresql`
- Linux: `apt-get install postgresql postgresql-contrib`
- Windows: `choco install postgresql`

To install Node.js and npm:
- For Mac OS X with Homebrew, run: `brew install node`
Expand Down

0 comments on commit 9b493ea

Please sign in to comment.