Update instructions for the bin/setup command

This command simplifies some of the steps. However, there's a gotcha: it
might fail if the database requires username and password and they
haven't been configured before executing it.
This commit is contained in:
Javi Martín
2024-08-06 13:50:28 +02:00
parent 1b61e8e2e0
commit e666c28c5c
6 changed files with 46 additions and 34 deletions

View File

@@ -14,6 +14,8 @@ You can access the main website of the project at [http://consuldemocracy.org](h
Prerequisites: install git, Ruby 3.2.4, CMake, pkg-config, Node.js 18.20.3, ImageMagick and PostgreSQL (>=9.5).
**Note**: The `bin/setup` command below might fail if you've configured a username and password for PostgreSQL. If that's the case, edit the lines containing `username:` and `password:` (adding your credentials) in the `config/database.yml` file and run `bin/setup` again.
```bash
git clone https://github.com/consuldemocracy/consuldemocracy.git
cd consuldemocracy