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

Some more documentation. #55

Merged
merged 3 commits into from
Jan 30, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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)