Fixed bunch of js bugs with comments. Also added development tips

This commit is contained in:
randx 2012-08-30 21:31:55 +03:00
parent 92137b7beb
commit 4a6596af27
12 changed files with 269 additions and 200 deletions

7
gitlab
View file

@ -22,10 +22,11 @@ class GitlabCli
case @mode
when 'production';
system(unicorn_start_cmd)
system(resque_start_cmd)
else
system(rails_start_cmd)
system(resque_dev_start_cmd)
end
system(resque_start_cmd)
end
def stop
@ -57,6 +58,10 @@ class GitlabCli
"kill -QUIT `cat #{pid}`"
end
def resque_dev_start_cmd
"./resque_dev.sh > /dev/null 2>&1"
end
def resque_start_cmd
"./resque.sh > /dev/null 2>&1"
end