Use overwind instead of hivemind

This commit is contained in:
gregoirenovel 2018-02-12 14:24:11 +01:00
parent d6bafc3bfb
commit 5b7085f7ce

View file

@ -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`