This is a mirror of the OSAMC.de website repository.
Go to file
Nils 09b79181d9 readme 2023-10-17 22:20:15 +02:00
archiv replace static archive index with dynamically build 2023-10-17 22:15:04 +02:00
css base website 2023-10-17 18:09:30 +02:00
img base website 2023-10-17 18:09:30 +02:00
protokolle base website 2023-10-17 18:09:30 +02:00
.gitattributes base website 2023-10-17 18:09:30 +02:00
.htaccess base website 2023-10-17 18:09:30 +02:00
README.md readme 2023-10-17 22:20:15 +02:00
dritter_mittwoch_im_monat.py base website 2023-10-17 18:09:30 +02:00
index.php replace next meeting days with php script. no more manual adjusting needed 2023-10-17 21:08:21 +02:00
organigramm.csv base website 2023-10-17 18:09:30 +02:00
organigramm.php base website 2023-10-17 18:09:30 +02:00
protokolle.php base website 2023-10-17 18:09:30 +02:00
third_wednesday.php replace next meeting days with php script. no more manual adjusting needed 2023-10-17 21:08:21 +02:00

README.md

osamc.de

This is the root copy of the OSAMC.de website. The webserver uses it's own git clone of this repository.

Main Site

https://osamc.de/

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.

Archive

https://osamc.de/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 github. git lfs is detected by github, you or other users don't need to setup anything on github, just in the local repositories.

Install git-lfs on your system. https://git-lfs.com/ Go into the git root

Check for potential files: git lfs migrate info --everything

Track large files

git lfs install
git lfs track "*.ardour-session-archive"
git lfs track "*.zip"
git lfs track "*.wav"
git lfs track "*.flac"
git add .gitattributes

Now the usual git stuff:

git add mysong.ardour-session-archive
git commit -m "Add ardour project"
git push

If you accidentally commited files before adding them to the lfs tracker you need git lfs migrate: https://github.com/git-lfs/git-lfs/blob/main/docs/man/git-lfs-migrate.adoc?utm_source=gitlfs_site&utm_medium=doc_man_migrate_link&utm_campaign=gitlfs

Convert the existing files: git lfs migrate import --everything --include="*.ardour-session-archiv"