No known key found for this signature in database
GPG Key ID: 5E2EF5A63E3718CC
1 changed files with
0 additions and
23 deletions
-
README.md
|
|
@ -44,26 +44,6 @@ $ source .venv/bin/activate |
|
|
|
$ pip install -r requirements.txt |
|
|
|
``` |
|
|
|
|
|
|
|
### The curious case of GDAL |
|
|
|
|
|
|
|
It's really hard to install GDAL. We need it to generate the tiles for the map. |
|
|
|
Here is one way to do it but you might run into problems and need to research a |
|
|
|
bit. |
|
|
|
|
|
|
|
```bash |
|
|
|
$ sudo apt install -y libgdal-dev |
|
|
|
$ pip install pygdal=="`gdal-config --version`.*" |
|
|
|
$ pip install gdal2tiles |
|
|
|
``` |
|
|
|
|
|
|
|
And then it should be possible to run the tile generation. |
|
|
|
|
|
|
|
```bash |
|
|
|
$ gdal2tiles.py -l -p raster -z 0-5 -w none tiles2 |
|
|
|
``` |
|
|
|
|
|
|
|
You may need to use `python gdal2tiles.py` instead? |
|
|
|
|
|
|
|
### Run the server |
|
|
|
|
|
|
|
```bash |
|
|
@ -95,14 +75,11 @@ Then it's possible to release the site with the following targets. |
|
|
|
|
|
|
|
```bash |
|
|
|
$ make doesitsparkjoy # https://doesitsparkjoy.voicegardens.org |
|
|
|
$ make voicegardens # https://voicegardens.org |
|
|
|
``` |
|
|
|
|
|
|
|
### Layers of the Onion |
|
|
|
|
|
|
|
* [Flask](http://flask.palletsprojects.com/en/1.1.x/) |
|
|
|
* [Leaflet](https://leafletjs.com) |
|
|
|
* [Mappa.js](https://mappa.js.org) |
|
|
|
* [p5.js](https://p5js.org) |
|
|
|
|
|
|
|
## License |
|
|
|