mirror of
https://github.com/CharaChorder/DeviceManager.git
synced 2026-01-08 11:02:50 +00:00
45 lines
1.5 KiB
Markdown
45 lines
1.5 KiB
Markdown
# dot i/o V2
|
|
|
|

|
|

|
|
[](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
|
|
|
|
- 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.
|