FPSO
A backend to manage different equipment of an FPSO (Floating Production, Storage and Offloading)
How to run
- Clone the repository
git clone https://github.com/marcusgabrields/fpso-manager-backend.git
- Enter project folder
cd fpso-manager-backend
- Make a virtual env
python3 -m venv .venv
- Activate the virtual environment
source .venv/bin/activate
- Install dependencies
pip install -r requirements.txt
- Install dev dependencies
pip install -r requirements-dev.txt
- Set the environment variables
mv .env-example .env
- Apply the migrations
python manage.py migrate
- Start the dev server
python manage.py runserver
- Access the API Swagger
Testing
- Run
python manage.py test