General steps for adding a new server #63
MatthewL246
started this conversation in
General
Replies: 1 comment 7 replies
-
I tried I do the command scripts/setup-environment and I got the file server.local.env I didn't want to put the perfect name and the thing is that when I run that deletes it .local.env I not include |
Beta Was this translation helpful? Give feedback.
7 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Here's the general steps I do to set up a new server. Keep in mind that this is usually not an easy task.
repos/
compose.yml
environment/server-name.env
and are committed to Git, secrets like the database password go inenvironment/server-name.local.env
and are ignored by Git.scripts/update-account-servers-database.sh
andscripts/run-in-container/update-account-servers-database.js
so the account server knows the game server existsscripts/setup-environment.sh
to writeserver-name.local.env
correctly during setupgit diff
to create patches inpatches/server-name
if you needed edit the sourcesetup.sh
to reset your environment and ensure the new server works. One trick is to edit thename: pretendo-network
incompose.yml
to set a new name, which gives you a fresh server environment. Also, ensure that CI passes when you push your commit.Beta Was this translation helpful? Give feedback.
All reactions