mirror of
https://github.com/LaCasemate/fab-manager.git
synced 2025-02-06 01:08:21 +01:00
clarified doc about setup of database.yml
This commit is contained in:
parent
66a37dc692
commit
5553c33565
21
README.md
21
README.md
@ -96,26 +96,27 @@ Contributions are welcome. Please read [the contribution guidelines](CONTRIBUTIN
|
|||||||
bundle install
|
bundle install
|
||||||
```
|
```
|
||||||
|
|
||||||
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.
|
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...)
|
||||||
|
```
|
||||||
|
|
||||||
|
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
|
```bash
|
||||||
rake db:setup
|
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
|
```bash
|
||||||
mkdir -p tmp/pids
|
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
|
10. Start the development web server
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
|
Loading…
x
Reference in New Issue
Block a user