Django Framework
Django is a Python framework. You can find more info at
Django Tutorials
Getting started with Django Framework
https://realpython.com/tutorials/django/
Create Project
1 |
django-admin.py startproject <name> |
Create New Application
1 |
python manage.py startapp <appname> |
Run Server
1 |
python manage.py runserver [IP:PORT] |
Django framework run server command start development web server on port 8000
To run server on port 80, use
1 |
python manage.py runserver 0.0.0.0:80 |
if you are running as non root user, you won’t be able to use port 80. The solution is to run as user root or install a reverse proxy like Nginx.