Skip to content

API voor NAP en meetbouten om verzakkingen te detecteren

License

Notifications You must be signed in to change notification settings

Amsterdam/nap_meetbouten

Atlas NAP & Meetbouten

Requirements

  • Docker-Compose (required)

Developing

Use docker-compose to start a local database.

(sudo) docker-compose start -d

or

docker-compose up -d

The API should now be available on http://localhost:8100/nap

To run an import, execute:

./nap_meetbouten/manage.py run_import

To see the various options for partial imports, execute:

./nap_meetbouten/manage.py run_import --help

To import the latest database from acceptance:

docker-compose exec database update-db.sh nap <user>

To import the latest elastic index from acceptance:

docker-compose exec elasticsearch update-el.sh meetbouten <user>

Test