Skip to content

goyal1092/wazimap-ng

This branch is 1567 commits behind OpenUpSA/wazimap-ng:master.

Folders and files

NameName
Last commit message
Last commit date
Jan 21, 2020
Feb 3, 2020
Feb 3, 2020
Jan 20, 2020
Jan 22, 2020
Jan 12, 2020
Jan 17, 2020
Dec 21, 2019
Jan 13, 2020
Jan 22, 2020
Jan 22, 2020
Dec 13, 2019
Jan 28, 2020
Jan 11, 2020
Dec 13, 2019

Repository files navigation

Prerequisites

Local Development

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

Create the database user and databae. Load up the database

docker exec --user=postgres -it wazimap-ng_db_1  createuser wazimap_ng -W
docker exec --user=postgres wazimap-ng_db_1 createdb -O wazimap_ng  wazimap_ng
```

curl https://wazimap-ng.s3-eu-west-1.amazonaws.com/wazimap-ng-20200113.dump.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

Production

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.

```

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 99.7%
  • Other 0.3%