#268: add notes in README about creating OFN user

This commit is contained in:
Paul Mackay
2016-02-06 20:05:23 +00:00
parent 2b0788ec9c
commit 57a929d718

View File

@@ -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