Web application deploy script updated to JV can deploy too.
--- a/web/config/deploy.rb Thu Jul 04 11:03:23 2013 +0100
+++ b/web/config/deploy.rb Thu Jul 04 11:03:58 2013 +0100
@@ -5,14 +5,19 @@
set :application, "calipel"
set :scm, :mercurial
-set :repository, "ssh://hg@bitbucket.org/janvrany/jv-calipel"
+#set :repository, "ssh://hg@bitbucket.org/janvrany/jv-calipel"
+set :repository, "https://bitbucket.org/janvrany/jv-calipel"
set :deploy_via, :remote_cache
set :deploy_to, "/home/hlopkmar/calipel"
set :deploy_subdir, "web"
server "swing.fit.cvut.cz", :app, :web, :db, primary: true
-set :user, "hlopkmar"
+if ENV['USER'] == 'jv'
+ set :user, "vranyj1"
+else
+ set :user, "hlopkmar"
+end
set :use_sudo, false
set :default_environment, {