voicegardens/README.md

88 lines
1.7 KiB
Markdown
Raw Normal View History

2019-12-21 12:49:53 +01:00
# voicegardens
2019-12-22 05:41:56 +01:00
> https://voicegardens.org
2019-12-22 05:42:18 +01:00
>
2019-12-22 05:41:56 +01:00
> http://doesitsparkjoy.voicegardens.org
2019-12-21 13:13:23 +01:00
## @ Interwebz
* [barbican.org.uk: This is Public Space](https://www.barbican.org.uk/whats-on/2019/event/this-is-public-space)
* [upprojects.com: This is Public Space](https://www.upprojects.com/projects/this-is-public-space/)
2019-12-16 12:10:55 +01:00
## Meanwhile, in the padiverse
* [kari.this.is.public.space](https://pad.vvvvvvaria.org/kari.this.is.public.space) (private)
* [vocoder](https://pad.vvvvvvaria.org/vocoder) (public)
## Doodle Doodle Doo
* [wet-signal-voice-garden.pdf](./media/wet-signal-voice-garden.pdf)
2019-12-16 12:11:29 +01:00
* [staringcaring.com](http://staringcaring.com/)
## Hackity Hack Hack
2019-12-16 11:35:41 +01:00
Please note, these commands were run on a Debian Stretch system.
### Install packed lunch
```bash
$ sudo apt install -y make git
```
2019-12-16 10:09:15 +01:00
### Get your discount source code
```bash
2019-12-21 12:49:53 +01:00
$ git clone ssh://gitea@vvvvvvaria.org:12345/varia/voicegardens.git
$ cd voicegardens
2019-12-16 10:09:15 +01:00
```
### Do the Python dance
2019-12-21 12:49:53 +01:00
```bash
$ python3 -m venv .venv
$ source .venv/bin/activate
$ pip install -r requirements.txt
2019-12-16 10:09:15 +01:00
```
### Run the server
2019-12-21 12:49:53 +01:00
```bash
$ make dev-serve
```
2019-12-21 12:49:53 +01:00
### Deploy the site
2019-12-21 13:13:07 +01:00
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.
```bash
$ ssh voicegardens.org
$ sudo -i # you have root access too
```
2019-12-22 05:36:48 +01:00
Then it's possible to release the site with the following targets.
2019-12-21 13:13:07 +01:00
2019-12-21 12:49:53 +01:00
```bash
2019-12-22 05:36:48 +01:00
$ make doesitsparkjoy # https://doesitsparkjoy.voicegardens.org
2019-12-21 12:49:53 +01:00
```
### Layers of the Onion
* [Flask](http://flask.palletsprojects.com/en/1.1.x/)
* [p5.js](https://p5js.org)
## License
TBD.