init
This commit is contained in:
parent
1d325c62ba
commit
f0173dfb44
|
@ -3,7 +3,7 @@ from fabric.api import env
|
||||||
|
|
||||||
env.hosts = ["jkydtjc@63.1.20.63"] # Replace with your host name or IP
|
env.hosts = ["jkydtjc@63.1.20.63"] # Replace with your host name or IP
|
||||||
env.base_dir = '/var/www' # Set to your app's directory
|
env.base_dir = '/var/www' # Set to your app's directory
|
||||||
env.app_name = 'g214_django' # This will deploy the app to /www/app_name.com/
|
env.app_name = 'g214' # This will deploy the app to /www/app_name.com/
|
||||||
env.git_clone = 'http://baoliang:welcome1@git.eanbo.cn/xieshen/g214.git' # Your git url
|
env.git_clone = 'http://baoliang:welcome1@git.eanbo.cn/xieshen/g214.git' # Your git url
|
||||||
env.remote_owner = 'jkydtjc'
|
env.remote_owner = 'jkydtjc'
|
||||||
env.remote_group = 'www-data'
|
env.remote_group = 'www-data'
|
||||||
|
|
|
@ -169,9 +169,9 @@ STATICFILES_DIRS = [
|
||||||
os.path.join(BASE_DIR, "static")
|
os.path.join(BASE_DIR, "static")
|
||||||
]
|
]
|
||||||
|
|
||||||
STATIC_ROOT = '/var/www/g214_django/shared/static'
|
STATIC_ROOT = '/var/www/g214/shared/static'
|
||||||
|
|
||||||
MEDIA_ROOT = '/var/www/g214_django/shared/static/upload/'
|
MEDIA_ROOT = '/var/www/g214/shared/static/upload/'
|
||||||
|
|
||||||
MEDIA_URL = '/static/upload/'
|
MEDIA_URL = '/static/upload/'
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue