|
10 | 10 |
|
11 | 11 | ## How to setup the pterodactyl panel
|
12 | 12 |
|
13 |
| -Open your github secrets and add the following: |
| 13 | +Fork this repo. |
| 14 | +Open your github repo secrets and add the following: |
14 | 15 |
|
15 | 16 | - `CODINGLABGG_SSH_KEY` : The private key to connect to the server
|
16 | 17 | - `CODINGLABGG_SSH_USER` : The user used to connect to the server (`pterodactyl`)
|
17 |
| -- `CODINGLABGG_SSH_HOST` : The host/ip of the server (`codinglab.gg`) |
| 18 | +- `CODINGLABGG_SSH_HOST` : The host/ip of the serve that run the panel (`codinglab.gg`) |
18 | 19 | - `CODINGLABGG_SSH_CERT` : The public certificate of the server (`ssh-keyscan codinglab.gg`)
|
19 | 20 |
|
20 | 21 | Make sure your server is setup with docker and docker compose plugin, and your user can run docker commands.
|
21 | 22 |
|
22 | 23 | Then push to the repository, [the github `panel-deployment.yml` action](./.github/workflows/panel-deployment.yml) will deploy the panel to the server.
|
23 | 24 |
|
| 25 | +Now you should be able to access the panel at your desired domain, under https. |
| 26 | + |
| 27 | +You still have to create your first user (admin) tho. |
| 28 | +To do so, go into your github repo > actions > panel-create-user.yml > run workflow > and fill this form : |
| 29 | + |
| 30 | + |
24 | 31 | ## How to setup a fresh game server
|
25 | 32 |
|
26 |
| -The panel and the game server are different entities. The panel is the dashboard to manage the game servers. The game servers are the actual servers where the games are running. |
| 33 | +First you need to create a Location, then a Node in the panel. |
| 34 | + |
| 35 | +Click on `Nodes` > `Create New` > Fill the form with the server's informations. |
| 36 | + |
| 37 | +Then you need to copy the Node Configuration `config.yml` from the panel. |
27 | 38 |
|
28 |
| -To setup a fresh game server, you need to run the wings agent on the server. The wings agent is the software that connects the game server to the panel. |
| 39 | +To setup a fresh game server, you need to run the wings agent on the server. |
| 40 | +The wings agent is the software that connects the game server to the panel. |
0 commit comments