„README.md“ ändern
This commit is contained in:
@@ -55,9 +55,10 @@ Das Python-Skript vereinfacht Erstellung und Bearbeitung eines Posts. Im Verzeic
|
|||||||
|
|
||||||
Das Skript setzt das Unterverzeichnis in/posts voraus. Falls nicht vorhanden:
|
Das Skript setzt das Unterverzeichnis in/posts voraus. Falls nicht vorhanden:
|
||||||
|
|
||||||
>$ mkdir ~/kred/kollegen-posts/in && ~/kred/kollegen-posts/in/posts
|
>$ mkdir ~/kred/kollegen-posts/redaktion/in
|
||||||
|
>$ mkdir ~/kred/kollegen-posts/redaktion/in/posts
|
||||||
|
|
||||||
Anlegen neuen Posts (auch Bearbeiten eines existierenden Posts)
|
Anlegen eines neuen Posts (auch Bearbeiten eines existierenden Posts)
|
||||||
>$ cd ~/kred/kollegen-posts/redaktion
|
>$ cd ~/kred/kollegen-posts/redaktion
|
||||||
>$ .venv/bin/python red.py init 20160216
|
>$ .venv/bin/python red.py init 20160216
|
||||||
>Existing in path found. Put your original images here: 'in/posts/20160216'
|
>Existing in path found. Put your original images here: 'in/posts/20160216'
|
||||||
@@ -66,9 +67,10 @@ Anlegen neuen Posts (auch Bearbeiten eines existierenden Posts)
|
|||||||
>Image directory created: 'images'
|
>Image directory created: 'images'
|
||||||
>The next step would be to add your images into the 'in/posts/20160216' directory. After that you can update the post directory '../content/posts/20160216' and the post file 'index.md': call 'update'.
|
>The next step would be to add your images into the 'in/posts/20160216' directory. After that you can update the post directory '../content/posts/20160216' and the post file 'index.md': call 'update'.
|
||||||
|
|
||||||
|
|
||||||
Damit werden die Verzeichnis ~/kred/kollegen-posts/redaktion/in/posts/20160216 und ~/kred/kollegen-posts/content/posts/20160216 angelegt (falls nicht vorhanden) und die Datei index.md initialisiert. Der Post ist nun initialisiert.
|
Damit werden die Verzeichnis ~/kred/kollegen-posts/redaktion/in/posts/20160216 und ~/kred/kollegen-posts/content/posts/20160216 angelegt (falls nicht vorhanden) und die Datei index.md initialisiert. Der Post ist nun initialisiert.
|
||||||
|
|
||||||
|
Erfolgskontrolle: Neue Webseite ist erreichbar unter http://localhost:1313/kollegenrunde/posts/2016/tour-2016-02-16/
|
||||||
|
|
||||||
Nun können eigenen Bilder in Originalgröße abgelegt werden, z. B.:
|
Nun können eigenen Bilder in Originalgröße abgelegt werden, z. B.:
|
||||||
|
|
||||||
>$ cp meine/bilder/*.jpg ~/kred/kollegen-posts/redaktion/in/posts/20160216/
|
>$ cp meine/bilder/*.jpg ~/kred/kollegen-posts/redaktion/in/posts/20160216/
|
||||||
|
|||||||
Reference in New Issue
Block a user