This commit is contained in:
2023-07-07 15:14:16 +02:00
parent 6ff9b0e18b
commit 83ebbcf7dd
3 changed files with 702 additions and 1 deletions

View File

@@ -1,5 +1,44 @@
# dot i/o V2
![GitHub Workflow Status (with event)](https://img.shields.io/github/actions/workflow/status/Theaninova/dotio/build.yml)
![GitHub](https://img.shields.io/github/license/Theaninova/dotio)
[![GitHub deployments](https://img.shields.io/github/deployments/Theaninova/dotio/Website?label=delployment)](https://dotio.theaninova.de/)
_This project is not affiliated or endorsed with neither the original [dot i/o](https://www.iq-eq.io/) site, nor [CharaChorder](https://www.charachorder.com/)_
I aim to create a new site that offers an easier, visually pleasing
and more complete way to configure and learn CharaChorder devices.
## Development
Create a python virtual environment
- NodeJS >=18.16
- Python >=3.10 virtual environment
I know, python in JS projects is extremely annoying, unfortunately,
it seems to be the only platform that offers a functional
way to subset variable woff2 fonts with ligatures.
In other words, either have python as a development dependency or
serve a 3.5MB icons font of which 99.5% is completely unused.
## Deployment
### SSH Setup
To generate a valid ssh key that can be used by the deployment workflow,
use the following command:
```shell
ssh-keygen -m PEM -b 4096 -t rsa -f dotio
```
Omitting `-m PEM -b 4096` will result in a key that rsync cannot read!
To double-check, make sure your private key starts with
```
-----BEGIN RSA PRIVATE KEY-----
```
After that, add the `SSH_SERVER`, `SSH_PORT`, `SSH_PRIVATE_KEY` and `SSH_USER`
environment secrets to your environment in GitHub.