Django: 4.0.8
Python: 3.9.6
Clone the repository:
$ git clone https://github.com/Khailas12/Vehicle-Management-Task
$ cd Vehicle-Management-Task
Install the dependencies:
$ pip install -r requirements.txt
Once pip
has finished downloading the dependencies:
$ python manage.py makemigrations
$ python manage.py migrate
Once you're done with DB migrations:
$ python manage.py runserver
And navigate to http://127.0.0.1:8000/
.
Test all the apps simultaneously:
$ python manage.py test
Test account
and vehicle
apps separately:
$ python manage.py test account
$ python manage.py test vehicle
Please refer to the Django App Test and Unit Test Documentations for more details.