initial commit
This commit is contained in:
commit
c1e482b4d6
46
README.md
Normal file
46
README.md
Normal file
|
@ -0,0 +1,46 @@
|
|||
# quellcode.0x90.space
|
||||
|
||||
|
||||
## Setup development environment
|
||||
|
||||
```
|
||||
git clone http://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](https://github.com/adityatelange/hugo-PaperMod).
|
||||
Documentation is there.
|
||||
|
||||
To update cupper, 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.
|
||||
|
6
archetypes/default.md
Normal file
6
archetypes/default.md
Normal file
|
@ -0,0 +1,6 @@
|
|||
---
|
||||
title: "{{ replace .Name "-" " " | title }}"
|
||||
date: {{ .Date }}
|
||||
draft: true
|
||||
---
|
||||
|
3
config.yml
Normal file
3
config.yml
Normal file
|
@ -0,0 +1,3 @@
|
|||
baseURL: https://quellcode.0x90.space/
|
||||
languageCode: en-us
|
||||
title: Quellcode - Hello World!
|
Loading…
Reference in a new issue