Merge pull request #808 from sgmap/cli

Cli: add demarches cli
This commit is contained in:
gregoirenovel 2017-10-17 16:37:01 +02:00 committed by GitHub
commit 13aaf5c38a

View file

@ -83,4 +83,8 @@ EOF
Rake::Task["db:migrate"].invoke
Rake::Task["db:environment:set"].invoke("RAILS_ENV=development")
end
task :console do
exec("ssh tps@sgmap_production1 -t 'source /etc/profile && cd current && bundle exec rails c production'")
end
end