swiss-seismological-service / REIA

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Rapid Eearthquake Impact Assessment

Build with

docker build -t reia_db .

Run with

Make sure .env file is created and correct.

docker run --name openquake -p 127.0.0.1:8800:8800 -e LOCKDOWN=True -e OQ_ADMIN_LOGIN=secret -e OQ_ADMIN_PASSWORD=secret -e OQ_ADMIN_EMAIL=user@domain.ch -d openquake/engine:3.16
docker run --env-file=.env -e POSTGRES_PASSWORD=postgres -e POSTGRES_USER=postgres -p 5432:5432 -d reia_db

Run Tests:

pip install -e .[dev]
pytest --cov=.

About

License:GNU Affero General Public License v3.0


Languages

Language:Python 95.2%Language:PLpgSQL 2.8%Language:Dockerfile 1.4%Language:Shell 0.6%