2021-11-28 21:42:25 +01:00
|
|
|
1. Instalacja paczek komendą "pip3 install -r requirements.txt"
|
|
|
|
2. Uzupełnienie pliku config_base.json wartościami token i ssh_public
|
2021-11-28 21:44:25 +01:00
|
|
|
```
|
|
|
|
{
|
|
|
|
"ssh_name": "s434784",
|
|
|
|
"network": "ms-network-1",
|
|
|
|
"network-ip": "10.10.10.0/24",
|
|
|
|
"volume": "ms-volume",
|
|
|
|
"db-server-name": "ms-gitea-db",
|
|
|
|
"gitea-server-name": "ms-gitea",
|
|
|
|
"server-type": "cx11",
|
|
|
|
"server-image": "ubuntu-20.04",
|
|
|
|
"location": "hel1",
|
|
|
|
"token": "<FILL>",
|
|
|
|
"ssh_public": "<FILL>"
|
|
|
|
}
|
|
|
|
|
|
|
|
```
|
2021-11-28 21:42:25 +01:00
|
|
|
3. Uruchomienie skryptu komendą "python3 deploy.py config_base.json"
|