We have a fleet of 10 drones. A drone is capable of carrying devices, other than cameras, and capable of delivering small loads. For our use case the load is medications.
- Python >=
3.7
(local uses3.9
) - Django
4.0.4
- Django Rest Framework
3.13.x
- You can see more here
-
Create a new virtual environment:
python3 -m venv venv
-
Activate the environment:
source venv/bin/activate
-
The environment has to be activated for the rest of the commands.
-
Install dependencies:
pip install -r requirements.txt
-
Initialize the database:
python manage.py migrate
-
Create superuser:
python manage.py createsuperuser
user created
user:musala password:software2020/*-+
-
Start the development server:
python manage.py runserver
System endpoints are tested. Each test is unitary for each application.
Tested functionalities and project requirements.
- login
- logout
- user registration
- Drone CRUD
- Medication CRUD
- Drone medication Package CRUD
- Battery Logs List
- Drone medication package limit (500 gr)
- Drone form validations
- Medication form validations
You can run in the project's root
python manage.py test