Start the dev server for local development. Before you've created your database, the webserver will break because it can't find the database.
docker-compose up
curl https://wazimap-ng.s3-eu-west-1.amazonaws.com/wazimap_ng-2020203.bak.gz | gunzip -c | docker exec -i wazimap-ng_db_1 pg_restore -U postgres -d wazimap_ng
If this is the first time you're running this, bring the containers down, then up again
```bash
docker-compose down
docker-compose up
To build a new image:
./scripts/docker_build.sh
Note, this currently logs into adieyal on docker-hub. This will be moved to the OpenUp account in future.
```Some notes for database migration - will turn this into proper documentation in the future
SELECT 'ALTER TABLE '|| schemaname || '.' || tablename ||' OWNER TO wazimap_ng;' FROM pg_tables WHERE NOT schemaname IN ('pg_catalog', 'information_schema') ORDER BY schemaname, tablename;