Simplify development environment setup

Rails provides a script that already did most of the steps.
This commit is contained in:
Javi Martín
2023-07-22 03:03:42 +02:00
parent f209325b90
commit ed4f8ad6d9
3 changed files with 11 additions and 16 deletions

View File

@@ -41,13 +41,8 @@ Prerequisitos: tener instalado git, Ruby 3.1.4, CMake, pkg-config, shared-mime-i
```bash
git clone https://github.com/consuldemocracy/consuldemocracy.git
cd consuldemocracy
bundle install
cp config/database.yml.example config/database.yml
cp config/secrets.yml.example config/secrets.yml
bin/rake db:create
bin/rake db:migrate
bin/setup
bin/rake db:dev_seed
RAILS_ENV=test rake db:setup
```
Para ejecutar la aplicación en local: