You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
echo "启动成功"
|
|
sleep 10
|
|
mkdir -p upload/images
|
|
python manage.py migrate
|
|
python manage.py collectstatic
|
|
gunicorn --workers 8 \
|
|
--bind 0.0.0.0:8000 \
|
|
djangoProject.wsgi:application \
|
|
--log-level info \
|
|
--access-logfile /var/log/myblog.log \
|
|
--timeout 3600 |