From 2f1e47a7a5a68c0d2a196b9fdb9869ca3e26097c Mon Sep 17 00:00:00 2001 From: Pierre de La Morinerie Date: Mon, 3 Sep 2018 14:20:32 +0200 Subject: [PATCH] setup: install mailcatcher --- README.md | 3 +-- bin/setup | 5 ++++- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 1630cf873..1aa709766 100644 --- a/README.md +++ b/README.md @@ -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 diff --git a/bin/setup b/bin/setup index 3e509a89a..cf5d1c425 100755 --- a/bin/setup +++ b/bin/setup @@ -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'