A basic Django 3.0 starter project.
- Using Python 3.8, run
python -m venv env
to create a virtual environment - Run
pip install -r requirements.txt
to install dependencies - Run
cd app/
to change toapp/
- Run
python manage.py runserver 127.0.0.1:7000
to start development server - Navigate to http://127.0.0.1:7000 to test
- docker build -t python-django-app .
- docker run -it -p 7000:7000 python-django-app
- check the application running
http://localhost:7000/