An online landscape, built as a tool to explore the many aspects of the human voice. https://voicegardens.org
Go to file
2020-01-07 19:50:08 +01:00
media Make a stab at kick starting the repository 2019-12-11 16:00:55 +07:00
voicegardens Polish colours and add archive button 2020-01-07 19:50:08 +01:00
.gitignore Add tiles too 2020-01-05 13:00:08 +01:00
fabfile.py Add deployment for the test site 2019-12-22 11:36:48 +07:00
makefile Remove leaflet and mappa 2020-01-07 14:31:41 +01:00
README.md Write something about GDAL 2020-01-05 12:05:45 +01:00
requirements.txt Make a few moves towards getting this to deploy 2019-12-21 17:46:27 +07:00

voicegardens

https://voicegardens.org

http://doesitsparkjoy.voicegardens.org

@ Interwebz

Meanwhile, in the padiverse

Doodle Doodle Doo

Hackity Hack Hack

Please note, these commands were run on a Debian Stretch system.

Install packed lunch

$ sudo apt install -y make git

Get your discount source code

$ git clone ssh://gitea@vvvvvvaria.org:12345/varia/voicegardens.git
$ cd voicegardens

Do the Python dance

$ python3 -m venv .venv
$ 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.

$ 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.

$ gdal2tiles.py -l -p raster -z 0-5 -w none tiles2

You may need to use python gdal2tiles.py instead?

Run the server

$ make dev-serve

Deploy the site

You can add the following to your SSH configuration:

Host voicegardens.org
  Hostname voicegardens.org
  User voicegardens
  Port 12345
  IdentityFile ~/.ssh/my-ssh-secret-key-file

(Where you should replace "my-ssh-secret-key-file" with the real filename.)

Make sure you can SSH into the server.

$ ssh voicegardens.org
$ sudo -i  # you have root access too

Then it's possible to release the site with the following targets.

$ make doesitsparkjoy # https://doesitsparkjoy.voicegardens.org
$ make voicegardens   # https://voicegardens.org

Layers of the Onion

License

TBD.