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

@@ -36,6 +36,8 @@ Puedes acceder a la página principal del proyecto en [http://consuldemocracy.or
Prerrequisitos: tener instalado git, Ruby 3.2.4, CMake, pkg-config, Node.js 18.20.3, ImageMagick y PostgreSQL (9.5 o superior).
**Nota**: Es posible que ejecutar `bin/setup`, como se indica a continuación, falle si has configurado un nombre de usuario y contraseña para PostgreSQL. Si es así, edita las líneas que contienen `username:` y `password:` (añadiendo tus credenciales) en el fichero `config/database.yml` y ejecuta `bin/setup` de nuevo.
```bash
git clone https://github.com/consuldemocracy/consuldemocracy.git
cd consuldemocracy