13 · Domains & git plan

DNS you added, what this server will serve, and how we stop flying without a net.

Domain map

flowchart LR
  subgraph DNS["gopastearth.com DNS A → 104.207.140.143"]
    S[staging]
    D[dochub]
    G[gperep]
  end
  S --> APP[Business OS app]
  D --> HUB[This DocHub + /oao]
  G --> REPO[Git hosting TBD]
          
HostPurposeStatus
staging.gopastearth.comLive productlive SSL
dochub.gopastearth.comHierarchy / flowchart docslive SSL
gperep.gopastearth.comGitea git hostlive SSL · Gitea 1.22

Gitea is live

https://gperep.gopastearth.com Gitea 1.22.6 · SQLite · bound to 127.0.0.1:3001 · Nginx TLS · systemd unit gitea. Data lives under /var/lib/gitea (separate from the live app tree). Public registration is disabled. Admin user: gpeadmin (password in /root/gitea-admin-credentials.txt on this server — change after first login).
ItemValue
Servicesystemctl status gitea
Config/etc/gitea/app.ini
Repos/var/lib/gitea/data/gitea-repositories
Memory cap400M (systemd)
SSH gitDisabled for now (HTTPS clone only)

First repo import (safe order)

Do not git init inside /home/pawspos/app with node_modules still tracked. Create an empty private repo in Gitea UI, then push a cleaned tree.
  1. Log in → New Repository → name gopastearth · private · default branch main.
  2. On the server, stage a clean export (example):
    • Copy selected dirs to /tmp/gpe-export/ with a strong .gitignore
    • Or use rsync --exclude node_modules …
  3. Include: backend/ (no node_modules), frontend/src+package files, public-site sources, bridge/, bridge-win-csharp/, infrastructure/ (no secrets), documentation/, root README / ForGrok.md
  4. Never commit: .env, SQL dumps, node_modules, Cloud SDK, certs, media blobs, passwords in PM2 configs
  5. git init && git add && git commit && git remote add origin https://gperep…/gpeadmin/gopastearth.git && git push -u origin main
  6. Workflow: branch → change → PR in Gitea → merge → deploy → pm2 restart

Example ignore list: gpe-repo-gitignore.example

DocHub path on disk

/home/pawspos/app/documentation/dochub/ · OAO also exposed at /oao/ on the dochub vhost.