mirror of
https://codeberg.org/Sonoj/osamc.de
synced 2025-12-27 00:55:32 +01:00
Update README for new domain
This commit is contained in:
parent
ff27b6888d
commit
8102a1eb7a
51
README.md
51
README.md
@ -1,33 +1,60 @@
|
||||
# osamc.de
|
||||
# https://köln.sonoj.org/
|
||||
|
||||
This is the root copy of the OSAMC.de website.
|
||||
The webserver uses it's own git clone of this repository.
|
||||
This is the root copy of the Sonoj Köln website.
|
||||
The webserver uses it's own read-only git clone of this repository.
|
||||
|
||||
## Main Site
|
||||
|
||||
https://osamc.de/
|
||||
https://köln.sonoj.org/
|
||||
|
||||
Dates for the next meetings are automatically calculated.
|
||||
For everything else edit the HTML files by hand.
|
||||
|
||||
## Deploying the website
|
||||
|
||||
The server osamc.de updates a local copy of this repository and will rsync changes to the web
|
||||
directory. Additional sanity checking and security measures are done in this step to prevent
|
||||
(accidental) harmful files on the public webserver.
|
||||
This website is deployed to our Uberspace as simple read-only https git clone from upstream
|
||||
Codeberg, which has LFS (see below) We got an out-of-memory error for git lfs for one single file.
|
||||
|
||||
On ssh sonoj.org
|
||||
|
||||
First time setup:
|
||||
```
|
||||
cd ~
|
||||
composer require vstelmakh/url-highlight
|
||||
#Later adjust the user home directory in protokolle.php so PHP can find the vendor directory.
|
||||
|
||||
cd domains/xn--kln-sna.sonoj.org
|
||||
|
||||
# 1) clone without LFS smudge (avoids the checkout-time failure)
|
||||
GIT_LFS_SKIP_SMUDGE=1 git clone --depth 1 https://codeberg.org/Sonoj/koeln.sonoj.org.git .
|
||||
#or for write access, not on the server:
|
||||
# GIT_LFS_SKIP_SMUDGE=1 git clone --depth 1 ssh://git@codeberg.org/Sonoj/koeln.sonoj.org.git
|
||||
|
||||
|
||||
# 2) reduce LFS memory/parallelism (repo-local)
|
||||
git config --local lfs.concurrenttransfers 1
|
||||
git config --local lfs.transfer.maxretries 10
|
||||
|
||||
# 3) download LFS objects and materialize them into the working tree
|
||||
git lfs pull
|
||||
git lfs checkout
|
||||
```
|
||||
|
||||
Update later:
|
||||
```
|
||||
git pull --ff-only
|
||||
git lfs pull
|
||||
git lfs checkout
|
||||
```
|
||||
|
||||
## Archive
|
||||
|
||||
https://osamc.de/archiv/
|
||||
https://köln.sonoj.org/archiv/
|
||||
|
||||
Each sub directory is one talk or project.
|
||||
Everything that has a metadata.ini file will be parsed by the index generator program.
|
||||
Possible index files are index.html index.php and index.pdf
|
||||
|
||||
## Protocols / Pad
|
||||
|
||||
The collaborative text pad is currently not in this git. #TODO
|
||||
|
||||
## Large File Storage
|
||||
|
||||
Since we host large files, like music sessions, in the archive it needs git large file storage for
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user