/Users/nico/dev2/danielle_app/config/database.yml
/Users/nico/dev2/danielle_app/config/deploy.rb /Users/nico/dev2/danielle_app/config/nginx.conf
This commit is contained in:
parent
9e2f5c9484
commit
cb2abbd597
@ -20,6 +20,6 @@ test:
|
|||||||
|
|
||||||
production:
|
production:
|
||||||
adapter: sqlite3
|
adapter: sqlite3
|
||||||
database: db/production.sqlite3
|
database: /home/web/danielle_app/shared/production.sqlite3
|
||||||
pool: 5
|
pool: 5
|
||||||
timeout: 5000
|
timeout: 5000
|
||||||
|
@ -70,7 +70,7 @@ namespace :deploy do
|
|||||||
|
|
||||||
run "ln -s #{deploy_to}shared/storage/public #{current_path}/public/public_medias"
|
run "ln -s #{deploy_to}shared/storage/public #{current_path}/public/public_medias"
|
||||||
|
|
||||||
run "ln -s #{deploy_to}shared/production.sqlite3 #{current_path}/db/production.sqlite3"
|
#run "ln -s #{deploy_to}shared/production.sqlite3 #{current_path}/db/production.sqlite3"
|
||||||
|
|
||||||
sudo "cp #{current_path}/config/unicorn_init_d /etc/init.d/#{application}"
|
sudo "cp #{current_path}/config/unicorn_init_d /etc/init.d/#{application}"
|
||||||
|
|
||||||
|
@ -4,7 +4,7 @@ upstream danielle_app_unicorn {
|
|||||||
|
|
||||||
server {
|
server {
|
||||||
listen 80;
|
listen 80;
|
||||||
server_name test.script-art.fr;
|
server_name test.script-art.net;
|
||||||
root /home/web/danielle_app/current/public;
|
root /home/web/danielle_app/current/public;
|
||||||
try_files $uri/index.html $uri @unicorn;
|
try_files $uri/index.html $uri @unicorn;
|
||||||
|
|
||||||
@ -23,7 +23,7 @@ server {
|
|||||||
|
|
||||||
server {
|
server {
|
||||||
listen 80;
|
listen 80;
|
||||||
server_name test2.script-art.fr;
|
server_name test.script-art.fr;
|
||||||
rewrite ^(.*) http://test.script-art.fr$1 permanent;
|
rewrite ^(.*) http://test.script-art.fr$1 permanent;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user