Update command to execute rake tasks
This command might fail if developers have several different versions of the `rake` gem on their system.
This commit is contained in:
@@ -48,10 +48,10 @@ And setup database credentials with your `consul` user in your new `database.yml
|
|||||||
7. Run the following [Rake tasks](https://github.com/ruby/rake) to create and fill your local database with the minimum data needed to run the application:
|
7. Run the following [Rake tasks](https://github.com/ruby/rake) to create and fill your local database with the minimum data needed to run the application:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
rake db:create
|
bin/rake db:create
|
||||||
rake db:setup
|
bin/rake db:setup
|
||||||
rake db:dev_seed
|
bin/rake db:dev_seed
|
||||||
rake db:test:prepare
|
bin/rake db:test:prepare
|
||||||
```
|
```
|
||||||
|
|
||||||
8. Check everything is fine by running the test suite (beware it might take more than an hour):
|
8. Check everything is fine by running the test suite (beware it might take more than an hour):
|
||||||
|
|||||||
@@ -48,10 +48,10 @@ Y configura los de tu usuario de base de datos `consul` en `database.yml`
|
|||||||
7. Ejecuta las siguientes [tareas Rake](https://github.com/ruby/rake) para crear y rellenar tu base de datos local con el mínimo de información necesaria para que la aplicación funcione correctamente:
|
7. Ejecuta las siguientes [tareas Rake](https://github.com/ruby/rake) para crear y rellenar tu base de datos local con el mínimo de información necesaria para que la aplicación funcione correctamente:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
rake db:create
|
bin/rake db:create
|
||||||
rake db:setup
|
bin/rake db:setup
|
||||||
rake db:dev_seed
|
bin/rake db:dev_seed
|
||||||
rake db:test:prepare
|
bin/rake db:test:prepare
|
||||||
```
|
```
|
||||||
|
|
||||||
8. Comprueba que todo funciona correctamente lanzando la suite de tests (ten en cuenta que podría tardar más de una hora):
|
8. Comprueba que todo funciona correctamente lanzando la suite de tests (ten en cuenta que podría tardar más de una hora):
|
||||||
|
|||||||
Reference in New Issue
Block a user