67 lines
2.1 KiB
Markdown
67 lines
2.1 KiB
Markdown
## Client
|
|
|
|
### Unreal engine related
|
|
- Install Powershell 7.x.x and change `.ps1` default program to it
|
|
- Install Gitnuro
|
|
- setup .uproject file to have tests plugin and following plugin
|
|
|
|
```
|
|
{
|
|
"Name": "VisualStudioTools",
|
|
"Enabled": false,
|
|
"MarketplaceURL": "com.epicgames.launcher://ue/marketplace/product/362651520df94e4fa65492dbcba44ae2",
|
|
"SupportedTargetPlatforms": [
|
|
"Win64"
|
|
]
|
|
}
|
|
```
|
|
- Change <Project>.build.cs to contain
|
|
```
|
|
if (Target.bBuildEditor)
|
|
{
|
|
PrivateDependencyModuleNames.AddRange(new string[] { "UnrealEd", "AutomationDriver", "AITestSuite" });
|
|
}
|
|
```
|
|
|
|
### Godot related
|
|
- Make sure to have the MONO version of the engine (version 4.2.2 or above)
|
|
- create `export_presets.cfg` at the root of res:// and make sure it's out of `.gitignore`
|
|
|
|
#### GUT
|
|
- Install [GUT](https://github.com/bitwes/Gut)
|
|
- create a `.gutconfig.json` at the root of res://, make it point at the right directory and make it exit on success and failure
|
|
|
|
#### GdUnit
|
|
- Install [GdUnit4](https://mikeschulze.github.io/gdUnit4/first_steps/install/)
|
|
|
|
|
|
## Server
|
|
|
|
### Setup infrastructure
|
|
- setup volumes into separate containers for git and gitea OR copy environment using json at `https://git.game-dev.space/minimata/jelastic-environment/raw/branch/main/jelastic-environment.json`
|
|
|
|
### Upgrade git
|
|
- Install git 2.x.x
|
|
```
|
|
rpm -U http://opensource.wandisco.com/centos/7/git/x86_64/wandisco-git-release-7-2.noarch.rpm && yum install -y git
|
|
```
|
|
|
|
### Install relevant files
|
|
- `git clone https://git.game-dev.space/minimata/game-dev-space.git`
|
|
- move compose and .env files to the `application` folder
|
|
```
|
|
cp game-dev-space/docker-compose.yaml application/
|
|
cp game-dev-space/.env application/
|
|
```
|
|
|
|
### Setup service
|
|
- move service file to /etc/systemd/system directory `cp game-dev-space/game-dev-space.service /etc/systemd/system/`
|
|
- `systemctl enable game-dev-space`
|
|
- `systemctl start game-dev-space`
|
|
|
|
### Application setup
|
|
- setup domain name and Let's encrypt SSL
|
|
- setup gitea runner authentication with token
|
|
|
|
### Unreal related
|
|
- authenticate docker to ghcr.io `echo <GITHUB_TOKEN> | docker login ghcr.io -u Minimata --password-stdin` |