sync build tree from private myoffice

This commit is contained in:
myoffice-sync
2026-08-05 11:31:19 +00:00
parent 405abdfe69
commit afa4c42105
60 changed files with 249 additions and 2400 deletions
+4 -6
View File
@@ -1,6 +1,6 @@
# MyOffice
ASP.NET Core API + Angular SPA. Full source is in this repository; runnable binaries are published as **Gitea Releases** (`myoffice-publish.tar.gz`).
ASP.NET Core API + Angular SPA. This repository has the **source needed to build**, plus Proxmox install scripts. Runnable binaries are **Gitea Releases** (`myoffice-publish.tar.gz`).
## Install on Proxmox (one line)
@@ -10,9 +10,9 @@ On the Proxmox host:
bash -c "$(curl -fsSL https://mygit.ase.com.ua/alexandr/myoffice_public/raw/branch/master/proxmox/myoffice.sh)"
```
That creates an LXC with PostgreSQL + ASP.NET runtime, downloads the latest release, and starts the app on port **9100**. Proxy with your nginx LXC to `http://<ct-ip>:9100`.
Creates an LXC with PostgreSQL + ASP.NET runtime, downloads the latest release, starts the app on port **9100**. Point your nginx LXC at `http://<ct-ip>:9100`.
Optional environment variables before the command:
Optional:
```bash
export GITEA_URL="https://mygit.ase.com.ua"
@@ -24,7 +24,7 @@ export RELEASE_TAG="latest" # or v1.2.3
Details: [proxmox/README.md](proxmox/README.md).
## Build from source (manual)
## Build from source
Requirements: .NET 10 SDK, Node.js 20+.
@@ -43,8 +43,6 @@ cd MyOffice.SPA && npm install && npm start # http://localhost:4300
# Run MyOffice.Web (API http://localhost:9100); set FrontEnd:Host to the SPA origin
```
Docker demo (SPA + API + Postgres + pgAdmin): see [Docker/README.md](Docker/README.md).
## Demo logins
Seeded on empty DB: