diff --git a/README.markdown b/README.markdown index 2710aa1162..8c9883dc04 100644 --- a/README.markdown +++ b/README.markdown @@ -48,6 +48,11 @@ Install the project's gem dependencies: bundle install +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`: rake db:setup @@ -56,7 +61,7 @@ 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 +Load some default data for your environment: rake openfoodnetwork:dev:load_sample_data @@ -69,7 +74,7 @@ At long last, your dreams of spinning up a development server can be realised: Tests, both unit and integration, are based on RSpec. To run the test suite, first prepare the test database: - bundle exec rake db:test:load + bundle exec rake db:test:prepare Then the tests can be run with: @@ -90,7 +95,7 @@ usage instructions. * David Cook (http://github.com/dacook) * Will Marshall (http://soundcloud.com/willmarshall) * Laura Summers (https://github.com/summerscope) - +* Maikel Linke (https://github.com/mkllnk) ## Licence