Khailas12 / Vehicle-Management-Task

Django Task

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Vehicle-Management-Task

Versions

Django: 4.0.8

Python: 3.9.6

Setup

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/.

Tests

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.