An online landscape, built as a tool to explore the many aspects of the human voice. https://voicegardens.org
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
Luke Murphy 6073a23960
For now, remove menu items
5 years ago
media Make a stab at kick starting the repository 5 years ago
voicegardens For now, remove menu items 5 years ago
.gitignore Add tiles too 5 years ago
README.md Write something about GDAL 5 years ago
fabfile.py Add deployment for the test site 5 years ago
makefile Specify zoom level 5 years ago
requirements.txt Make a few moves towards getting this to deploy 5 years ago

README.md

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.