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 ### Développement
- Mailcatcher : `gem install mailcatcher` - Yarn : voir https://yarnpkg.com/en/docs/install
- Overmind : - Overmind :
* Mac : `brew install overmind` * Mac : `brew install overmind`
* Linux : voir https://github.com/DarthSim/overmind#installation * Linux : voir https://github.com/DarthSim/overmind#installation
- Yarn : voir https://yarnpkg.com/en/docs/install
### Tests ### Tests

View file

@ -13,7 +13,10 @@ chdir APP_ROOT do
# This script is a starting point to setup your application. # This script is a starting point to setup your application.
# Add necessary setup steps to this file. # 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! 'gem install bundler --conservative'
system('bundle check') || system!('bundle install') system('bundle check') || system!('bundle install')
system! 'bin/yarn install' system! 'bin/yarn install'