From 5553c33565aa6abe99073a60bb73e7b5dbe9b304 Mon Sep 17 00:00:00 2001 From: Sylvain Date: Thu, 31 Mar 2016 21:16:11 +0200 Subject: [PATCH] clarified doc about setup of database.yml --- Cheffile | 0 README.md | 21 +++++++++++---------- 2 files changed, 11 insertions(+), 10 deletions(-) create mode 100644 Cheffile diff --git a/Cheffile b/Cheffile new file mode 100644 index 000000000..e69de29bb diff --git a/README.md b/README.md index 87f8fdc83..e33083588 100644 --- a/README.md +++ b/README.md @@ -95,26 +95,27 @@ Contributions are welcome. Please read [the contribution guidelines](CONTRIBUTIN ```bash bundle install ``` + +7. Create the default configuration files **and configure them!** (see the [Environment Configuration](#environment-configuration) section) + + ```bash + cp config/database.yml.default config/database.yml + cp config/application.yml.default config/application.yml + vi config/application.yml + # or use your favorite text editor instead of vi (nano, ne...) + ``` -7. Build the database. You may have to follow the steps described in [the PostgreSQL installation chapter](#postgresql) before, if you don't already have a working installation of PostgreSQL. +8. Build the database. You may have to follow the steps described in [the PostgreSQL installation chapter](#postgresql) before, if you don't already have a working installation of PostgreSQL. ```bash rake db:setup ``` -8. Create the pids folder used by Sidekiq. If you want to use a different location, you can configure it in `config/sidekiq.yml` +9. Create the pids folder used by Sidekiq. If you want to use a different location, you can configure it in `config/sidekiq.yml` ```bash mkdir -p tmp/pids ``` - -9. Create the default configuration file **and configure it !** (see the [Environment Configuration](#environment-configuration) section) - - ```bash - cp config/application.yml.default config/application.yml - vi config/application.yml - # or use your favorite editor instead of vi (nano, ne...) - ``` 10. Start the development web server