Merge pull request #1424 from betagouv/overmind
Use overwind instead of hivemind
This commit is contained in:
commit
d7ef4a3d24
1 changed files with 10 additions and 4 deletions
14
README.md
14
README.md
|
@ -14,9 +14,9 @@ Téléprocédures Simplifiées, ou TPS pour les intimes, est une plateforme 100
|
||||||
### Développement
|
### Développement
|
||||||
|
|
||||||
- Mailcatcher : `gem install mailcatcher`
|
- Mailcatcher : `gem install mailcatcher`
|
||||||
- Hivemind :
|
- Overmind :
|
||||||
* Mac : `brew install hivemind`
|
* Mac : `brew install overmind`
|
||||||
* Linux : voir https://github.com/DarthSim/hivemind#installation
|
* Linux : voir https://github.com/DarthSim/overmind#installation
|
||||||
|
|
||||||
### Tests
|
### Tests
|
||||||
|
|
||||||
|
@ -89,7 +89,7 @@ client_secret: ''
|
||||||
|
|
||||||
## Lancement de l'application
|
## Lancement de l'application
|
||||||
|
|
||||||
hivemind
|
overmind
|
||||||
|
|
||||||
## Programmation des jobs
|
## Programmation des jobs
|
||||||
|
|
||||||
|
@ -117,6 +117,12 @@ Pour exécuter les tests de l'application, plusieurs possibilités :
|
||||||
rake spec SPEC=file_path/file_name_spec.rb
|
rake spec SPEC=file_path/file_name_spec.rb
|
||||||
rspec file_path/file_name_spec.rb
|
rspec file_path/file_name_spec.rb
|
||||||
|
|
||||||
|
## Debug
|
||||||
|
|
||||||
|
Une fois `overmind` lancé, et un breakpoint `byebug` inséré dans le code, il faut se connecter au process `server` dans un nouveau terminal afin d'intéragir avec byebug :
|
||||||
|
|
||||||
|
overmind connect server
|
||||||
|
|
||||||
## Linting
|
## Linting
|
||||||
|
|
||||||
- Faire tourner RuboCop : `bundle exec rubocop`
|
- Faire tourner RuboCop : `bundle exec rubocop`
|
||||||
|
|
Loading…
Add table
Reference in a new issue