Skip to content

Commit

Permalink
add prerequisite for postgres and add some titles (#59)
Browse files Browse the repository at this point in the history
  • Loading branch information
tbutterwith authored and JiggyPete committed Sep 1, 2019
1 parent 2e24623 commit 87bfc52
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,19 @@ Access the live site from [here](https://www.globaldiversitycfpday.com/).

This site is built on Ruby on Rails, using Ruby 2.2.6 and Rails 5.1.1.

## Running the Application

### Prerequisites

This application requires a Postgres database to be available at `localhost` and native postgres drivers to be installed locally. If you see the following error during installation, make sure you have postgres installed.

```bash
Installing pg 0.18.4 with native extensions
Gem::Ext::BuildError: ERROR: Failed to build gem native extension.
```

### Installation

To get this site running locally:

`git clone git@github.com:JiggyPete/global-diversity-cfp-day-site.git`
Expand All @@ -12,4 +25,6 @@ Run `bundle install` to get all those lovely Gems on your machine.

Run `rake db:create db:migrate`

### Running

Run `bundle exec rails server` and access `http://localhost:3000` on your browser of choice.

0 comments on commit 87bfc52

Please sign in to comment.