forked from anti/kitchen-homepage
mehr readme
This commit is contained in:
parent
56b5b0a92a
commit
269f760151
49
README.md
49
README.md
@ -1,41 +1,60 @@
|
|||||||
# Kitchen Homepage
|
# Kitchen Homepage Mitmachanleitung
|
||||||
|
|
||||||
Mitmachanleitung:
|
|
||||||
|
|
||||||
## git
|
## git
|
||||||
|
|
||||||
1. git installieren
|
### git installieren
|
||||||
|
|
||||||
2. git clone --recursive gogs@git.binary-kitchen.de:webredaktion/kitchen-homepage.git
|
Entweder mit dem jeweiligen Paketmanager oder:
|
||||||
|
|
||||||
3. cd kitchen-homepage
|
https://git-scm.com/downloads
|
||||||
|
|
||||||
|
### homepage repo holen
|
||||||
|
|
||||||
|
git clone --recursive gogs@git.binary-kitchen.de:webredaktion/kitchen-homepage.git
|
||||||
|
|
||||||
|
### ins verzeichnis wechseln
|
||||||
|
|
||||||
|
cd kitchen-homepage
|
||||||
|
|
||||||
## hugo
|
## hugo
|
||||||
|
|
||||||
1. hugo installieren
|
### hugo installieren
|
||||||
|
|
||||||
linux: snap install hugo
|
linux:
|
||||||
macos: brew install hugo
|
|
||||||
windows: choco install hugo -confirm
|
snap install hugo
|
||||||
|
|
||||||
|
macos:
|
||||||
|
|
||||||
|
brew install hugo
|
||||||
|
|
||||||
|
windows:
|
||||||
|
|
||||||
|
choco install hugo -confirm
|
||||||
|
|
||||||
(oder https://gohugo.io/getting-started/installing/)
|
(oder https://gohugo.io/getting-started/installing/)
|
||||||
|
|
||||||
2. hugo serve
|
### lokalen sever starten
|
||||||
|
|
||||||
3. angezeigte URL im Browser öffnen
|
hugo serve
|
||||||
|
|
||||||
|
### anschauen
|
||||||
|
|
||||||
|
Im Terminal angezeigte URL im Browser öffnen
|
||||||
|
|
||||||
## content
|
## content
|
||||||
|
|
||||||
1. editieren
|
### editieren
|
||||||
|
|
||||||
Inhalte in content/... ändern oder hinzufügen. zb. in
|
Inhalte in content/... ändern oder hinzufügen. zb. in
|
||||||
content/kitchenlog/2017/...
|
content/kitchenlog/2017/...
|
||||||
|
|
||||||
2. änderungen ins repo aufnehmen
|
### änderungen ins repo aufnehmen
|
||||||
|
|
||||||
git add content/kitchenlog
|
git add content/kitchenlog
|
||||||
|
git add public
|
||||||
git commit -m "new kitchenlog content"
|
git commit -m "new kitchenlog content"
|
||||||
|
|
||||||
3. publizieren
|
### publizieren
|
||||||
|
|
||||||
git push
|
git push
|
||||||
|
Loading…
Reference in New Issue
Block a user