project_path=`pwd` sudo ln -s $project_path/nginx/site.conf /etc/nginx/sites-enabled/ sudo ln -s $project_path/systemd/gunicorn.service /etc/systemd/system/ sudo systemctl daemon-reload sudo systemctl start gunicorn sudo systemctl enable gunicorn sudo service nginx restart
Обсуждают сегодня