Skip to content

Latest commit

 

History

History
31 lines (24 loc) · 657 Bytes

README.md

File metadata and controls

31 lines (24 loc) · 657 Bytes

OsmoseApp

Deployment

For Ifremer infrastructure follow the comments in the .gitlab-ci.yml file, otherwise use the docker-compose.yml file (you should create a .env file with the required variables).

Development

This project uses poetry (pip install poetry) for Python dev and npm for Javascript dev.

Setup

Backend:

# Initial setup
poetry install
docker run --name devdb -e POSTGRES_PASSWORD=postgres -p 127.0.0.1:5432:5432 -d postgis/postgis
poetry run python manage.py seed
# Run
docker start devdb
poetry run python manage.py runserver

Frontend:

# Initial setup
cd frontend
npm install
# Run
npm start