/fpso-manager-backend

A backend to manage different equipment of an FPSO

Primary LanguagePython

FPSO

A backend to manage different equipment of an FPSO (Floating Production, Storage and Offloading)

How to run

  1. Clone the repository git clone https://github.com/marcusgabrields/fpso-manager-backend.git
  2. Enter project folder cd fpso-manager-backend
  3. Make a virtual env python3 -m venv .venv
  4. Activate the virtual environment source .venv/bin/activate
  5. Install dependencies pip install -r requirements.txt
  6. Install dev dependencies pip install -r requirements-dev.txt
  7. Set the environment variables mv .env-example .env
  8. Apply the migrations python manage.py migrate
  9. Start the dev server python manage.py runserver
  10. Access the API Swagger

Testing

  1. Run python manage.py test