Merge pull request #248 from deivid-rodriguez/simplify_readme_commands
simplifies commands in readme
This commit is contained in:
@@ -27,13 +27,13 @@ cd participacion
|
|||||||
bundle install
|
bundle install
|
||||||
cp config/database.yml.example config/database.yml
|
cp config/database.yml.example config/database.yml
|
||||||
cp config/secrets.yml.example config/secrets.yml
|
cp config/secrets.yml.example config/secrets.yml
|
||||||
bundle exec bin/rake db:setup
|
bin/rake db:setup
|
||||||
RAILS_ENV=test bundle exec rake db:setup
|
RAILS_ENV=test bin/rake db:setup
|
||||||
```
|
```
|
||||||
|
|
||||||
Para ejecutar la aplicación en local:
|
Para ejecutar la aplicación en local:
|
||||||
```
|
```
|
||||||
bundle exec bin/rails s
|
bin/rails s
|
||||||
```
|
```
|
||||||
|
|
||||||
Prerequisitos para los tests: tener instalado PhantomJS >= 2.0
|
Prerequisitos para los tests: tener instalado PhantomJS >= 2.0
|
||||||
@@ -41,7 +41,7 @@ Prerequisitos para los tests: tener instalado PhantomJS >= 2.0
|
|||||||
Para ejecutar los tests:
|
Para ejecutar los tests:
|
||||||
|
|
||||||
```
|
```
|
||||||
bundle exec bin/rspec
|
bin/rspec
|
||||||
```
|
```
|
||||||
|
|
||||||
### OAuth
|
### OAuth
|
||||||
|
|||||||
@@ -28,13 +28,13 @@ cd participacion
|
|||||||
bundle install
|
bundle install
|
||||||
cp config/database.yml.example config/database.yml
|
cp config/database.yml.example config/database.yml
|
||||||
cp config/secrets.yml.example config/secrets.yml
|
cp config/secrets.yml.example config/secrets.yml
|
||||||
bundle exec bin/rake db:setup
|
bin/rake db:setup
|
||||||
RAILS_ENV=test bundle exec rake db:setup
|
RAILS_ENV=test bin/rake db:setup
|
||||||
```
|
```
|
||||||
|
|
||||||
Run the app locally:
|
Run the app locally:
|
||||||
```
|
```
|
||||||
bundle exec bin/rails s
|
bin/rails s
|
||||||
```
|
```
|
||||||
|
|
||||||
Prerequisites for testing: install PhantomJS >= 2.0
|
Prerequisites for testing: install PhantomJS >= 2.0
|
||||||
@@ -42,7 +42,7 @@ Prerequisites for testing: install PhantomJS >= 2.0
|
|||||||
Run the tests with:
|
Run the tests with:
|
||||||
|
|
||||||
```
|
```
|
||||||
bundle exec bin/rspec
|
bin/rspec
|
||||||
```
|
```
|
||||||
|
|
||||||
## Licence
|
## Licence
|
||||||
|
|||||||
Reference in New Issue
Block a user