Sign inSign up

amatissart/cosmogony_explorer_importer

By amatissart

•Updated almost 8 years ago

Visual and geographical feedback on Cosmogony

Image
0

210

amatissart/cosmogony_explorer_importer repository overview

⁠Explore Cosmogony

The main goal of this tool is to have some visual and geographical feedback on Cosmogony⁠ output.

cosmogony demo

⁠Usage

This will run docker-compose containers, import the cosmogony zones to Postgis, pre-generate tiles, and launch the explorer in your browser.

You may need to run it with sudo, as it launches docker-compose commands.

The easiest way to run it:

pipenv install
pipenv run inv -e run-local

You can set a path to the cosmogony data by changing the environment variable PATH_TO_COSMOGONY_DIR. You can do this either just with a classic environment variable, or by changing the file .env. By default it will load the data in the ./cosmogony_data/ directory.

By default it will load a file named cosmogony.json in this directory. You can change the file name with the cli parameter --cosmogony-file-name=<my_cosmogony_file>

PATH_TO_COSMOGONY_DIR=./my_data_dir pipenv run inv -e run-local --cosmogony-file-name=cosmo_lux.json

⁠Development

If you want to change stuff in the repository, you need to build custom images. To do this, you just need to add the --build-dockers argument to the invoke commands:

PATH_TO_COSMOGONY_DIR=./my_data_dir pipenv run inv -e run-local --cosmogony-file-name=cosmo_lux.json --build-dockers

Tag summary

Content type

Image

Digest

Size

87 MB

Last updated

almost 8 years ago

docker pull amatissart/cosmogony_explorer_importer