A Dockerized Django 3.X TDD implementation of the Blog Tutorial inspired by https://test-driven-django-development.readthedocs.io
requirement: python 3.6 or later
Start by cloning the repository localy and enter into the project folder.
python3 -m venv venv
on Windows
py -3 -m venv venv
Activate the environment
Before you work on your project, activate the corresponding environment:
. venv/bin/activate
On Windows:
venv\Scripts\activate
Your shell prompt will change to show the name of the activated environment.
Install the require python package
pip install -r requirements-dev.txt
To start the application localy
cd src
python manage.py runserver
If you have docker and docker-compose installed in your computer, just run
docker-compose up -d
In your browser open the url http://your_domain_name:8080
]
example : http://localhost:8080/