This commit is contained in:
Bob 2020-06-08 15:50:30 +08:00
parent 235669fcdf
commit 5a42ffe790
3 changed files with 9 additions and 3 deletions

6
.idea/vcs.xml Normal file
View File

@ -0,0 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="VcsDirectoryMappings">
<mapping directory="$PROJECT_DIR$" vcs="Git" />
</component>
</project>

4
fabfile.py vendored
View File

@ -3,8 +3,8 @@ from fabric.api import env
env.hosts = ["g214@210.77.68.250"] # Replace with your host name or IP
env.base_dir = '/var/www/p3' # Set to your app's directory
env.app_name = 'linbeistationtest' # This will deploy the app to /www/app_name.com/
env.git_clone = 'http://210.77.77.77/xieshen/linbeistationtest.git' # Your git url
env.app_name = 'linbeistation' # This will deploy the app to /www/app_name.com/
env.git_clone = 'http://210.77.77.77/xieshen/linbeistation.git' # Your git url
env.remote_owner = 'g214'
env.remote_group = 'www-data'
env.restart_cmd = 'sudo service apache2 restart'

View File

@ -25,7 +25,7 @@ SECRET_KEY = 's457sr4szr0%4h+sm((2@p-6irfcyzm#u@0fbcryi43@vv2zlo'
# SECURITY WARNING: don't run with debug turned on in production!
DEBUG = True
ALLOWED_HOSTS = []
ALLOWED_HOSTS = ['*']
# Application definition