From 57a929d718cdd80296fff242a7eebdcb801110bf Mon Sep 17 00:00:00 2001 From: Paul Mackay Date: Sat, 6 Feb 2016 20:05:23 +0000 Subject: [PATCH] #268: add notes in README about creating OFN user --- README.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/README.md b/README.md index 6e7ecf8d74..9402a7ee87 100644 --- a/README.md +++ b/README.md @@ -61,6 +61,13 @@ Configure the site: cp config/application.yml.example config/application.yml edit config/application.yml +Create a PostgreSQL user: + +* Login as your system postrgresql priviledged user: `sudo -i -u postgres` (this may vary on your OS). Now your prompt looks like: `[postgres@your_host ~]$` +* Create the `ofn` database superuser and give it the password `f00d`: + + createuser -s -P ofn + Create the development and test databases, using the settings specified in `config/database.yml`, and populate them with a schema and seed data: rake db:setup