This document describes the workflow for creating, managing and deploying releases to SolidRusT servers.
Create a local copy of this code repository
- How to use GitHub Reference for setting up your local github command line tools
- Clone GitHub Repo Clone this remote github repository to your local machine
- Update GitHub Repo Update your local clone with the remote repository
SolidRusT releases get auto-deployed every server wipe. Here are the steps involved for making changes to an upcomming SolidRusT release.
- Commit Changes commit your changes to your local copy of this github repository
- Update GitHub push and merge your local changes into the remote github repository
- Update SRT Distribution update SolidRusT distribution server from the remote github repository
These steps are to manually deploy the current SolidRusT without waiting for the scheduled wipe and auto-deployment jobs.
- Update SRT Distribution update SolidRusT distribution server from the remote github repository
- Deploy SRT Release deploy game server release from the SolidRusT distribution server
- Reload Plugins load and reload any new or updated plugins
When making changes to plugins like Kits
, using the in-game user interface, these changes will need to be downloaded into the release.
- Update Repo update local repository with remote repository
- Pull running configs pull configs from a running server
- Commit Changes commit your changes to your local copy of this github repository
- Update GitHub push and merge your local changes into the remote github repository
- Update SRT Distribution update SolidRusT distribution server from the remote github repository
To create a local copy of this repository, choose from the following methods:
- Clone the nolag platform to your home directory
git clone https://github.com/SolidRusT/srt-nolag-platform.git
cd srt-nolag-platform # Optional
Syncronize your local files with the remote Github repository.
cd srt-nolag-platform # Optional, if you are already in this folder
git checkout master && git pull
If you get some error messages, then you need to read and follow their suggestions OR just trash the srt-nolag-platform
folder and clone it from the remote repository to start over.
Once you are happy with your edits, commit them with a comment to indicate what you have changed.
cd srt-nolag-platform # Optional, if you are already in this folder
git config --global core.autocrlf false # need this if you use a Windows PC
git add --renormalize . # need this if you use a Windows PC
git add . # Add any file that was changed into the release
git commit -m "Type a breif description of what you changed here"
Update GitHub with your local commit(s), by pushing and merging your changes with the remote GitHub repository.
cd srt-nolag-platform # Optional, if you are already in this folder
git push
sync_repo
<server_name_ssh>
sudo su - <game_user>
exit # exit from game service user
exit # exit from game server SSH session
This happens automatically every 5-15mins depending on the server's crontab
configuration. To make this happen immediately, use the following steps:
- Login to the Game server Starting from your admin console, login to the game server using SSH.
- Update the game server from the SolidRusT distribution's current release.
update_repo game && update_mods
- Login to the Game server Starting from your admin console, login to the game server using SSH.
rcon "o.load *"
rcon "o.reload <plugin_name>"
pull_oxide_config <server_name> <plugin_name>
pull_oxide_data <server_name> <plugin_name>
1.1.1.1
1.0.0.1
2606:4700:4700::1111
2606:4700:4700::1001
StackEdit - StackEdit’s Markdown syntax highlighting is unique. The refined text formatting of the editor helps you visualize the final rendering of your files.