From 57e838898fa30427f5d0ee1f191df1b0bd082cc9 Mon Sep 17 00:00:00 2001 From: Maikel Linke Date: Thu, 12 Feb 2015 11:05:21 +1100 Subject: [PATCH] Update documentation of database setup db:setup is doing db:schema and db:seed already --- README.markdown | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/README.markdown b/README.markdown index 8c9883dc04..5448e34328 100644 --- a/README.markdown +++ b/README.markdown @@ -53,14 +53,11 @@ Configure the site: cp config/application.yml.example config/application.yml edit config/application.yml -Create the development and test databases, using the settings specified in `config/database.yml`: +Create the development and test databases, using the settings specified in `config/database.yml` +and load data from `db/seeds.rb`: rake db:setup -Then load the schema and some seed data with the following command: - - rake db:schema:load db:seed - Load some default data for your environment: rake openfoodnetwork:dev:load_sample_data @@ -99,4 +96,4 @@ usage instructions. ## Licence -Copyright (c) 2012 - 2013 Open Food Foundation, released under the AGPL licence. +Copyright (c) 2012 - 2015 Open Food Foundation, released under the AGPL licence.