mehr readme
This commit is contained in:
parent
56b5b0a92a
commit
269f760151
49
README.md
49
README.md
@ -1,41 +1,60 @@
|
||||
# Kitchen Homepage
|
||||
|
||||
Mitmachanleitung:
|
||||
# Kitchen Homepage Mitmachanleitung
|
||||
|
||||
## 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
|
||||
|
||||
1. hugo installieren
|
||||
### hugo installieren
|
||||
|
||||
linux: snap install hugo
|
||||
macos: brew install hugo
|
||||
windows: choco install hugo -confirm
|
||||
linux:
|
||||
|
||||
snap install hugo
|
||||
|
||||
macos:
|
||||
|
||||
brew install hugo
|
||||
|
||||
windows:
|
||||
|
||||
choco install hugo -confirm
|
||||
|
||||
(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
|
||||
|
||||
1. editieren
|
||||
### editieren
|
||||
|
||||
Inhalte in content/... ändern oder hinzufügen. zb. in
|
||||
content/kitchenlog/2017/...
|
||||
|
||||
2. änderungen ins repo aufnehmen
|
||||
### änderungen ins repo aufnehmen
|
||||
|
||||
git add content/kitchenlog
|
||||
git add public
|
||||
git commit -m "new kitchenlog content"
|
||||
|
||||
3. publizieren
|
||||
### publizieren
|
||||
|
||||
git push
|
||||
|
Loading…
Reference in New Issue
Block a user