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).
This project uses poetry (pip install poetry
) for Python dev and npm for Javascript dev.
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