Go to file
0x90.space 82d7ba8878 update
2023-09-01 13:03:48 +02:00
archetypes initial commit 2023-07-05 19:22:54 +02:00
assets/images logo special effects 2023-07-13 00:16:27 +02:00
content/posts update 2023-09-01 13:03:48 +02:00
themes/PaperMod adjust theme 2023-07-12 21:28:29 +02:00
.gitignore Add gitignore 2023-07-26 10:50:41 +02:00
config.yml update 2023-09-01 08:42:32 +02:00
deploy.sh add deploy helper 2023-08-15 15:11:21 +02:00
logo.xcf add logo 2023-07-06 21:39:15 +02:00
logo_peaceful_plus_text.xcf logo special effects 2023-07-13 00:16:27 +02:00
propaganda_16_9.png add deploy helper 2023-08-15 15:11:21 +02:00
propaganda_16_9.xcf add deploy helper 2023-08-15 15:11:21 +02:00
qrcode.png add more propaganda material 2023-07-16 23:24:22 +02:00
README.md fix copy-paste-errors 2023-07-05 19:33:46 +02:00

quellcode.0x90.space

Setup development environment

git clone https://git.0x90.space/0x90/quellcode.0x90.space

cd quellcode.0x90.space/

hugo server

Deployment

Assuming you are in the root directory of this repository, and you have cloned https://git.0x90.space/0x90/0x90-ansible next to this repository, you can deploy the website with:

# build website
hugo
cd ../0x90-ansible/
# create ssh_config (only necessary once)
ansible-playbook -i inventory -t init site.yml
# add key (only necessary once)
ssh-add id_ed25519
# copy website to server
rsync -avz -e 'ssh -F ssh_config' ../quellcode.0x90.space/public/* www:/var/www/quellcode.0x90.space

Theme

We use the PaperMod Theme. Documentation is there.

To update the theme, you need to run these git commands:

git remote add papermod-hugo-theme https://github.com/adityatelange/hugo-PaperMod
git subtree pull --prefix themes/PaperMod papermod-hugo-theme master --squash

This adds the changes as a commit, and another merge commit. Now you can push and deploy the updated theme.