Merge pull request #248 from deivid-rodriguez/simplify_readme_commands

simplifies commands in readme
This commit is contained in:
Juanjo Bazán
2015-08-26 10:32:21 +02:00
2 changed files with 8 additions and 8 deletions

View File

@@ -27,13 +27,13 @@ cd participacion
bundle install
cp config/database.yml.example config/database.yml
cp config/secrets.yml.example config/secrets.yml
bundle exec bin/rake db:setup
RAILS_ENV=test bundle exec rake db:setup
bin/rake db:setup
RAILS_ENV=test bin/rake db:setup
```
Para ejecutar la aplicación en local:
```
bundle exec bin/rails s
bin/rails s
```
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:
```
bundle exec bin/rspec
bin/rspec
```
### OAuth

View File

@@ -28,13 +28,13 @@ cd participacion
bundle install
cp config/database.yml.example config/database.yml
cp config/secrets.yml.example config/secrets.yml
bundle exec bin/rake db:setup
RAILS_ENV=test bundle exec rake db:setup
bin/rake db:setup
RAILS_ENV=test bin/rake db:setup
```
Run the app locally:
```
bundle exec bin/rails s
bin/rails s
```
Prerequisites for testing: install PhantomJS >= 2.0
@@ -42,7 +42,7 @@ Prerequisites for testing: install PhantomJS >= 2.0
Run the tests with:
```
bundle exec bin/rspec
bin/rspec
```
## Licence