A blog system based on YText.
- create a file
yblog/extra_infos.py, and fill it out based on the template provided inyblog/extra_infos.py.template - creat a file
nginx/config.py, and fill it out based on the template provided innginx/config.py.template - on
nginx/: runpython make_nginx.py. - on
yblog/: runpython manage.py createsuperuser, and follow the instructions. - on
yblog/: runpython manage.py migrate.
- on
yblog/: runpython manage.py collectstatic. - on
yblog/: rungunicorn --workers 3 yblog.wsgi:application --bind 127.0.0.1:8001. - make sure nginx is on:
sudo systemctl restart nginx