45 lines
1.0 KiB
Markdown
45 lines
1.0 KiB
Markdown
|
|
# AAMOS Repositories
|
||
|
|
|
||
|
|
## Översikt
|
||
|
|
|
||
|
|
| Repo | Beskrivning | Plats |
|
||
|
|
|------|-------------|-------|
|
||
|
|
| aamos-ledger | Rust-backend för bokföring | repos/aamos-ledger.git |
|
||
|
|
| aamos-ledger-ui | iOS-native webb-UI | repos/aamos-ledger-ui.git |
|
||
|
|
| landvex-data | SIE4-filer och bokföringsdata | repos/landvex-data.git |
|
||
|
|
| aamos-infrastructure | Nginx, systemd, deploy | repos/aamos-infrastructure.git |
|
||
|
|
|
||
|
|
## Arbetskopior
|
||
|
|
|
||
|
|
```bash
|
||
|
|
# Klona alla repos
|
||
|
|
for repo in aamos-ledger aamos-ledger-ui landvex-data aamos-infrastructure; do
|
||
|
|
git clone repos/$repo.git work/$repo
|
||
|
|
done
|
||
|
|
```
|
||
|
|
|
||
|
|
## Workflow
|
||
|
|
|
||
|
|
1. **Utveckla** i arbetskopian (`work/<repo>`)
|
||
|
|
2. **Commit** med beskrivande meddelanden
|
||
|
|
3. **Push** till origin
|
||
|
|
4. **Deploy** via scripts i aamos-infrastructure
|
||
|
|
|
||
|
|
## Branch-strategi
|
||
|
|
|
||
|
|
- `main` — produktionskod
|
||
|
|
- `feature/*` — nya funktioner
|
||
|
|
- `hotfix/*` — akuta fixar
|
||
|
|
|
||
|
|
## Taggar
|
||
|
|
|
||
|
|
```bash
|
||
|
|
# Tagga release
|
||
|
|
git tag -a v1.0.0 -m "Release 1.0.0"
|
||
|
|
git push origin v1.0.0
|
||
|
|
```
|
||
|
|
|
||
|
|
## Backup
|
||
|
|
|
||
|
|
Repos ligger i `/home/bernt/.openclaw/workspace/repos/`
|