kitchen-homepage/README.md

61 lines
873 B
Markdown
Raw Normal View History

2017-11-29 16:02:21 +01:00
# Kitchen Homepage Mitmachanleitung
2017-11-29 15:56:10 +01:00
## git
2017-11-29 16:02:21 +01:00
### git installieren
Entweder mit dem jeweiligen Paketmanager oder:
https://git-scm.com/downloads
2017-11-29 15:56:10 +01:00
2017-11-29 16:02:21 +01:00
### homepage repo holen
2017-11-29 15:56:10 +01:00
2017-11-29 16:02:21 +01:00
git clone --recursive gogs@git.binary-kitchen.de:webredaktion/kitchen-homepage.git
### ins verzeichnis wechseln
cd kitchen-homepage
2017-11-29 15:56:10 +01:00
## hugo
2017-11-29 16:02:21 +01:00
### hugo installieren
linux:
2017-11-29 15:56:10 +01:00
2017-11-29 16:02:21 +01:00
snap install hugo
macos:
brew install hugo
windows:
choco install hugo -confirm
2017-11-29 15:56:10 +01:00
(oder https://gohugo.io/getting-started/installing/)
2017-11-29 16:02:21 +01:00
### lokalen sever starten
hugo serve
### anschauen
2017-11-29 15:56:10 +01:00
2017-11-29 16:02:21 +01:00
Im Terminal angezeigte URL im Browser öffnen
2017-11-29 15:56:10 +01:00
## content
2017-11-29 16:02:21 +01:00
### editieren
2017-11-29 15:56:10 +01:00
Inhalte in content/... ändern oder hinzufügen. zb. in
content/kitchenlog/2017/...
2017-11-29 16:02:21 +01:00
### änderungen ins repo aufnehmen
2017-11-29 15:56:10 +01:00
git add content/kitchenlog
2017-11-29 16:02:21 +01:00
git add public
2017-11-29 15:56:10 +01:00
git commit -m "new kitchenlog content"
2017-11-29 16:02:21 +01:00
### publizieren
2017-11-29 15:56:10 +01:00
git push