An example Django "Hello World!" application.
- Python 3.4+
- Pipenv
- Start Python virtual ENV
pipenv shell
- Install dependencies
pipenv install
- Run database migrations
python manage.py migrate; python manage.py makemigrations
- Create admin user
python manage.py createsuperuser --username admin
python manage.py runserver
Once the server is running, visit http://127.0.0.1:8000 in your web browser. Now, you should see something like the following:
Note: access the Django admin interface here: http://127.0.0.1:8000/admin. Example:
- Properly installing Python - https://docs.python-guide.org/starting/installation/
- Installing pipenv - https://docs.python-guide.org/dev/virtualenvs/#installing-pipenv
- Python programming language - https://www.python.org/
- Django - https://www.djangoproject.com/