Service and Database for drone registry
This repository contains the core part of the Oroneta project. It is a service and database for drone registry. The project saves the information of drones and their owners. Every drone route must be inspected and registered in the system.
- Register drones
- Register drone routes
- Register registrants
To install the project, you need to clone the repository and install the dependencies. You can do this by running the following commands:
git clone https://github.com/oroneta/core-system.git
cd core-system
To run the project as prod, you need to run the following command:
cd docker
docker compose up -d --build
If you want to run the project as dev, you need to modify the docker-compose.yml
# Dev
# - ./migration/demo.sql:/docker-entrypoint-initdb.d/demo.sql --> Uncomment this line
And then run the following command:
cd docker
docker compose up -d --build --force-recreate --remove-orphans
In the folder you can find the tests for the project. To run the tests, you need to run the following command:
cd tests
python3 -m pip install -r requirements.txt
# For postgresql database connection tests
python3 -m pytester.py 2
# For services tests
python3 -m pytester.py 1
All tests must pass to ensure the correct operation of the project.
This project is lincesed under Creative Common License. See the LICENSE file for more information.
Attribution-NonCommercial-ShareAlike 4.0 International
Any of this project's code can be used for non-commercial purposes. Any other use must be approved by the project owner.
All rights reserved to Oroneta Project.