Skip to content

Commit c1409c2

Browse files
authored
Merge pull request #113 from Gml-Launcher/develop
Develop
2 parents bec8c77 + 005c3d6 commit c1409c2

File tree

4 files changed

+100
-18
lines changed

4 files changed

+100
-18
lines changed

Gml.Backend.sln

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,15 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Modrinth.Api.Domains", "src
7878
EndProject
7979
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Gml.Backend.Tests", "tests\Gml.Backend.Tests\Gml.Backend.Tests.csproj", "{13D5F0F1-77B7-4415-BE69-2C1109E96348}"
8080
EndProject
81+
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "libs", "libs", "{079E0363-DE4D-43DD-86BB-99D921E6D2EE}"
82+
EndProject
83+
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Gml.Core", "Gml.Core", "{065BF79A-E3D4-48E2-9675-02C1A3974182}"
84+
EndProject
85+
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "modrinth", "modrinth", "{71792E05-B97A-4861-87D4-2B176A004FA3}"
86+
ProjectSection(SolutionItems) = preProject
87+
src\Gml.Web.Api\src\Gml.Core\src\Modrinth.Api\README.md = src\Gml.Web.Api\src\Gml.Core\src\Modrinth.Api\README.md
88+
EndProjectSection
89+
EndProject
8190
Global
8291
GlobalSection(SolutionConfigurationPlatforms) = preSolution
8392
Debug|Any CPU = Debug|Any CPU
@@ -183,5 +192,8 @@ Global
183192
{1810C95B-E7A2-4C34-A091-522EE3E75C25} = {E2ED9D08-3137-4328-8544-CE413F2B73B8}
184193
{3E7FC536-9C83-40C8-95AA-D221930756FB} = {E2ED9D08-3137-4328-8544-CE413F2B73B8}
185194
{13D5F0F1-77B7-4415-BE69-2C1109E96348} = {AA158165-09EE-4338-9FC8-9F172E47F62D}
195+
{079E0363-DE4D-43DD-86BB-99D921E6D2EE} = {C8F55A92-E612-4AAE-9586-8E33D170A266}
196+
{065BF79A-E3D4-48E2-9675-02C1A3974182} = {079E0363-DE4D-43DD-86BB-99D921E6D2EE}
197+
{71792E05-B97A-4861-87D4-2B176A004FA3} = {079E0363-DE4D-43DD-86BB-99D921E6D2EE}
186198
EndGlobalSection
187199
EndGlobal

README.md

Lines changed: 86 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,98 @@
1-
![Banner](https://github.com/user-attachments/assets/7a2671d6-76a1-406d-9294-8d3a754f0398)
1+
![Frame 39262](https://github.com/user-attachments/assets/4ac0a227-a246-474a-8aab-1af34b6f8497)
22

3+
# Gml.Backend
34

4-
![GitHub Workflow Status](https://img.shields.io/github/actions/workflow/status/Gml-Launcher/Gml.Web.Api/docker-package-publish.yml?label=Tests&style=for-the-badge&branch=master)
5-
![GitHub contributors](https://img.shields.io/github/contributors/Gml-Launcher/Gml.Backend?style=for-the-badge)
6-
![Size](https://img.shields.io/github/repo-size/Gml-Launcher/Gml.Backend?style=for-the-badge)
7-
![License](https://img.shields.io/github/license/Gml-Launcher/Gml.Backend?style=for-the-badge)
5+
Gml.Backend is a comprehensive project designed to facilitate rapid deployment of server infrastructure for Minecraft game profiles, including Forge, Fabric, and LiteLoader. This product suite encompasses three integral services:
86

9-
# Gml.Backend
7+
- **Gml.Web.Api**: A RESTful API that provides an interface for interaction with server data.
8+
- **Gml.Web.Client**: Commonly referred to as the Monitoring Dashboard, this component offers a user-friendly interface for monitoring and administrating game profiles and the launcher.
9+
- **Gml.Web.Skin.Service**: A service dedicated to the management of textures, allowing for customization and personalization for each player.
1010

11-
Gml.Backend is a comprehensive project, designed to facilitate rapid deployment of server infrastructure for Minecraft game profiles: Forge, Fabric, LiteLoader.
12-
This product suite encompasses three integral services:
11+
Together, these services offer a robust foundation for managing Minecraft game profiles with mods.
1312

14-
[Gml.Web.Api:](https://github.com/Gml-Launcher/Gml.Web.Api) This is a RESTful API that provides an interface for interaction with server data.
13+
## Documentation
14+
- [Official Website](https://gml.recloud.tech)
15+
- [Official Documentation](https://wiki.recloud.tech)
16+
- [Wiki Mirror](https://gml-launcher.github.io/Gml.Docs)
1517

16-
[Gml.Web.Client:](https://github.com/Scondic/Gml.Web.Client) Commonly referred to as the Monitoring Dashboard, this component offers a user-friendly interface for monitoring and administrating game profiles and the launcher.
18+
## Installation Instructions
1719

18-
[Gml.Web.Skin.Service:](https://github.com/Gml-Launcher/Gml.Web.Skin.Service) This service is specifically dedicated to the management of textures, allowing for customization and personalization for each player.
20+
### Step 1: Clone the Repository
21+
Clone the stable version of the repository using the following command:
1922

20-
Together, these services offer a robust foundation for managing Minecraft game profiles with mods.
23+
```bash
24+
git clone --recursive https://github.com/GamerVII-NET/Gml.Backend.git
25+
```
26+
27+
### Step 2: Navigate to the Project Directory
28+
Move to the project directory:
29+
30+
```bash
31+
cd Gml.Backend
32+
```
33+
34+
### Step 3: Configure the `.env` File
35+
Create or edit the `.env` file in the root of the `Gml.Backend` directory. Below is an example configuration:
36+
37+
```plaintext
38+
# User and Group Identifiers for Linux
39+
UID=0
40+
GID=0
41+
42+
# Security key (replace with your own secure key)
43+
SECURITY_KEY=643866c80c46c909332b30600d3265803a3807286d6eb7c0d2e164877c809519
44+
45+
# Project settings
46+
PROJECT_NAME=GmlBackendPanel
47+
PROJECT_DESCRIPTION=
48+
PROJECT_POLICYNAME=GmlServerPolicy
49+
PROJECT_PATH=
50+
51+
# S3 Configuration
52+
S3_ENABLED=true
53+
MINIO_ROOT_USER=GamerVII
54+
MINIO_ROOT_PASSWORD=waefawegferyjerthdrthrtrdthdr
55+
56+
# External Access Settings
57+
MINIO_ADDRESS=:5009
58+
MINIO_ADDRESS_PORT=5009
59+
MINIO_CONSOLE_ADDRESS=:5010
60+
MINIO_CONSOLE_ADDRESS_PORT=5010
61+
PORT_GML_BACKEND=5000
62+
PORT_GML_FRONTEND=5003
63+
PORT_GML_FILES=5005
64+
PORT_GML_SKINS=5006
65+
66+
# Microservices
67+
SERVICE_TEXTURE_ENDPOINT=http://gml-web-skins:8085
68+
```
69+
70+
### Step 4: Configure the Client `.env` File
71+
Create or edit the `.env` file in the `src/Gml.Web.Client/` directory:
72+
73+
```plaintext
74+
# Web API address
75+
NEXT_PUBLIC_BACKEND_URL=http://localhost:5000/api/v1
76+
```
77+
78+
### Step 5: Launch the Project with Docker
79+
Ensure Docker is installed and running on your system. Then, execute the following command to build and start the project:
80+
81+
```bash
82+
docker compose up -d --build
83+
```
2184

22-
# Documentation
23-
[Official Website](https://gml.recloud.tech)
85+
Docker will download the necessary images and launch the project. Once the containers are running, you can access the services in your browser at the following addresses:
2486

25-
[Official documentation](https://wiki.recloud.tech)
87+
## Infrastructure
88+
> **Note**: Starting from version `0.1.0-rc1`, server files are stored in the installation directory. [Learn more](#).
2689
27-
[Wiki mirror](https://gml-launcher.github.io/Gml.Docs/home.html)
90+
### Server Infrastructure
91+
- **Web API**: `http://localhost:5000` (Main service)
92+
- **Web Dashboard**: `http://localhost:5003` (Requires registration)
93+
- **Gml.Web.Skin.Service**: `http://localhost:5006` (Accessible only within the container)
2894

95+
## Important Notes
96+
- **FileBrowser** has been removed starting from version `0.1.0-rc1`. [Details](#).
97+
- **Minio** has been removed starting from version `1.0.3`. [Details](#).
98+
- Ensure the `.env` files are correctly configured before launching the project. Update the configurations as needed based on your requirements.

src/Gml.Web.Client

0 commit comments

Comments
 (0)