docs: add one-time production source import guide
This commit is contained in:
1 parent
038875facd
commit
e521a98535
1 file changed
+44
@@ -0,0 +1,44 @@
|
||||
# Einmaliger Import des vorhandenen Produktiv-Quellstands
|
||||
|
||||
Das Repository wurde zunächst mit GitHub-spezifischen Dateien initialisiert. Der vollständige bestehende Landwelle-Quellstand wird einmalig aus dem Produktivverzeichnis in eine separate Arbeitskopie übernommen und nach `main` gepusht.
|
||||
|
||||
Die produktive Installation selbst wird dabei nicht verändert.
|
||||
|
||||
```bash
|
||||
cd /root
|
||||
rm -rf landwelle-github
|
||||
|
||||
git clone git@github.com:opengenesislink/landwelle.git landwelle-github
|
||||
|
||||
rsync -a /home/users/slmmradio/www/landwelle.de/ /root/landwelle-github/ \
|
||||
--exclude='.git/' \
|
||||
--exclude='.github/' \
|
||||
--exclude='.gitignore' \
|
||||
--exclude='README.md' \
|
||||
--exclude='.env' \
|
||||
--exclude='.env.*' \
|
||||
--exclude='dist/' \
|
||||
--exclude='bin/' \
|
||||
--exclude='uploads/' \
|
||||
--exclude='data/' \
|
||||
--exclude='media/' \
|
||||
--exclude='ai-audio/' \
|
||||
--exclude='downloads/' \
|
||||
--exclude='*.log' \
|
||||
--exclude='*.zip' \
|
||||
--exclude='*.sha256' \
|
||||
--exclude='PACKAGE_MANIFEST-*.txt' \
|
||||
--exclude='VALIDATION-*.txt' \
|
||||
--exclude='*service-account*.json'
|
||||
|
||||
cd /root/landwelle-github
|
||||
|
||||
git status
|
||||
git add -A
|
||||
git commit -m 'feat: import Landwelle v1.5.62 source'
|
||||
git push origin main
|
||||
```
|
||||
|
||||
Falls der Server noch keinen GitHub-SSH-Zugang besitzt, zuerst `ssh -T git@github.com` prüfen und einen vorhandenen autorisierten SSH-Key verwenden. Zugangsdaten oder private Schlüssel gehören nicht in das Repository.
|
||||
|
||||
Nach dem Import ist `main` die verbindliche Quellcode-Basis. Künftige Releases werden dort zuerst committed und anschließend produktiv ausgerollt.
|
||||
Reference in new issue
Block a user