Files
org_backend/README.md
Zaine Arch 340b33f5d0
Some checks failed
Build Org Backend / build (push) Failing after 15s
check
2026-05-09 00:02:29 +01:00

34 lines
1011 B
Markdown

# Introduction
This repository contains the source code and documentation for all of my APIs. It serves as a centralised location for my self-hosted services to use.
# Structure
The repository is organised into the following main directories:
# Deployment
The main branch build is controlled by `.gitea/workflows/build.yml`. On a
successful build it packages the Spring Boot jar, installs the project-owned
`misc/org-backend.service` unit into systemd, reloads systemd, enables the
service, and restarts it.
The service runs the stable build artifact at:
```text
/home/zaine/master-folder/projects/java_projects/org_backend/target/org-backend.jar
```
Runtime configuration is loaded by systemd from:
```text
/etc/org-backend/org-backend.env
```
Create that file once on the server from `misc/org-backend.env.example` and
fill in the production values. The Gitea deploy step installs an updated
example file to `/etc/org-backend/org-backend.env.example`, but it does not
overwrite the real env file.