setup: install mailcatcher

This commit is contained in:
Pierre de La Morinerie 2018-09-03 14:20:32 +02:00
parent f52822b75b
commit 2f1e47a7a5
2 changed files with 5 additions and 3 deletions

View file

@ -12,11 +12,10 @@ demarches-simplifiees.fr est un site web conçu afin de répondre au besoin urge
### Développement
- Mailcatcher : `gem install mailcatcher`
- Yarn : voir https://yarnpkg.com/en/docs/install
- Overmind :
* Mac : `brew install overmind`
* Linux : voir https://github.com/DarthSim/overmind#installation
- Yarn : voir https://yarnpkg.com/en/docs/install
### Tests

View file

@ -13,7 +13,10 @@ chdir APP_ROOT do
# This script is a starting point to setup your application.
# Add necessary setup steps to this file.
puts '== Installing dependencies =='
puts '== Installing global tools =='
system! 'gem install mailcatcher --conservative'
puts "\n== Installing dependencies =="
system! 'gem install bundler --conservative'
system('bundle check') || system!('bundle install')
system! 'bin/yarn install'