commit
0f069aa51c
2 changed files with 12 additions and 8 deletions
|
@ -4,10 +4,14 @@ require 'mina/git'
|
||||||
require 'mina/rbenv'
|
require 'mina/rbenv'
|
||||||
|
|
||||||
# Basic settings:
|
# Basic settings:
|
||||||
# domain - The hostname to SSH to.
|
# domain - The hostname to SSH to.
|
||||||
# deploy_to - Path to deploy into.
|
# deploy_to - Path to deploy into.
|
||||||
# repository - Git repo to clone from. (needed by mina/git)
|
# repository - Git repo to clone from. (needed by mina/git)
|
||||||
# branch - Branch name to deploy. (needed by mina/git)
|
# branch - Branch name to deploy. (needed by mina/git)
|
||||||
|
#
|
||||||
|
# Advanced settings:
|
||||||
|
# forward_agent - SSH forward_agent
|
||||||
|
# user - Username in the server to SSH to
|
||||||
|
|
||||||
if !["staging", "production"].include?(ENV['to'])
|
if !["staging", "production"].include?(ENV['to'])
|
||||||
raise "missing or incorrect `to` (should be 'staging' or 'production')"
|
raise "missing or incorrect `to` (should be 'staging' or 'production')"
|
||||||
|
@ -22,7 +26,7 @@ set :repository, 'https://github.com/betagouv/tps.git'
|
||||||
set :port, 2200
|
set :port, 2200
|
||||||
set :rails_env, 'production'
|
set :rails_env, 'production'
|
||||||
set :rbenv_path, "/usr/local/rbenv/bin/rbenv"
|
set :rbenv_path, "/usr/local/rbenv/bin/rbenv"
|
||||||
set :forward_agent, true # SSH forward_agent.
|
set :forward_agent, true
|
||||||
|
|
||||||
# Manually create these paths in shared/ (eg: shared/config/database.yml) in your server.
|
# Manually create these paths in shared/ (eg: shared/config/database.yml) in your server.
|
||||||
# They will be linked in the 'deploy:link_shared_paths' step.
|
# They will be linked in the 'deploy:link_shared_paths' step.
|
||||||
|
@ -42,12 +46,12 @@ case ENV["to"]
|
||||||
when "staging"
|
when "staging"
|
||||||
set :branch, ENV['branch'] || 'dev'
|
set :branch, ENV['branch'] || 'dev'
|
||||||
set :deploy_to, '/var/www/tps_dev'
|
set :deploy_to, '/var/www/tps_dev'
|
||||||
set :user, 'tps_dev' # Username in the server to SSH to.
|
set :user, 'tps_dev'
|
||||||
appname = 'tps_dev'
|
appname = 'tps_dev'
|
||||||
when "production"
|
when "production"
|
||||||
set :branch, ENV['branch'] || 'master'
|
set :branch, ENV['branch'] || 'master'
|
||||||
set :deploy_to, '/var/www/tps'
|
set :deploy_to, '/var/www/tps'
|
||||||
set :user, 'tps' # Username in the server to SSH to.
|
set :user, 'tps'
|
||||||
appname = 'tps'
|
appname = 'tps'
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
|
@ -41,7 +41,7 @@ fr:
|
||||||
signed_up: "Bienvenue, vous êtes connecté."
|
signed_up: "Bienvenue, vous êtes connecté."
|
||||||
signed_up_but_inactive: "Vous êtes bien enregistré. Vous ne pouvez cependant pas vous connecter car votre compte n'est pas encore activé."
|
signed_up_but_inactive: "Vous êtes bien enregistré. Vous ne pouvez cependant pas vous connecter car votre compte n'est pas encore activé."
|
||||||
signed_up_but_locked: "Vous êtes bien enregistré. Vous ne pouvez cependant pas vous connecter car votre compte est verrouillé."
|
signed_up_but_locked: "Vous êtes bien enregistré. Vous ne pouvez cependant pas vous connecter car votre compte est verrouillé."
|
||||||
signed_up_but_unconfirmed: "Un message contenant un lien d'activation a été envoyé à votre adresse email. Ouvrez ce lien pour activer votre compte."
|
signed_up_but_unconfirmed: "Nous vous avons envoyé un email contenant un lien d'activation. Ouvrez ce lien pour activer votre compte."
|
||||||
update_needs_confirmation: "Votre compte a bien été mis à jour mais nous devons vérifier votre nouvelle adresse email. Merci de vérifier vos email et de cliquer sur le lien d'activation pour finaliser la validation de votre nouvelle adresse."
|
update_needs_confirmation: "Votre compte a bien été mis à jour mais nous devons vérifier votre nouvelle adresse email. Merci de vérifier vos email et de cliquer sur le lien d'activation pour finaliser la validation de votre nouvelle adresse."
|
||||||
updated: "Votre compte a été modifié avec succès."
|
updated: "Votre compte a été modifié avec succès."
|
||||||
sessions:
|
sessions:
|
||||||
|
|
Loading…
Add table
Reference in a new issue