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

Commit

Permalink
Merge pull request #55 from maccoda/maccoda/documentation
Browse files Browse the repository at this point in the history
Some more documentation.
  • Loading branch information
steveklabnik authored Jan 30, 2017
2 parents 1120976 + efc3e09 commit 0a6fb17
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ This web application shows people who have contributed to Rust.
You'll need nightly Rust for now. This will change with Rust 1.15, when
this will run on stable.

Get the app set up. You'll need postgres installed. And sqlite3 headers I
think.
Get the app set up. You'll need [postgres](diesel_setup.md) installed. And
[sqlite3 headers](diesel_setup.md) I think.

Clone it:

Expand Down
20 changes: 20 additions & 0 deletions diesel_setup.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# Diesel setup

These were the tasks I needed to perform before I could get diesel_cli
installed.

## Ubunutu

These are the packages referenced in the README that need to be installed for
postgresql and sqlite 3:

* `postgresql`
* `postgresql-contrib`
* `libpq-dev` (Not enough to just set up postgresql, need this for `libpq`)
* `sqlite3`

Then needed to set up postgresql using
[this](https://help.ubuntu.com/community/PostgreSQL) tutorial.

After this was able to install diesel_cli and then run the setup with the newly
created credentials following the instructions in [README](README.md)

0 comments on commit 0a6fb17

Please sign in to comment.