From d476691b86810e1dc1e9ea37c3fb9c6728f722ee Mon Sep 17 00:00:00 2001 From: Dmitry Ilvokhin Date: Mon, 26 Dec 2022 20:10:43 +0000 Subject: Add README.md file --- README.md | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 README.md (limited to 'README.md') diff --git a/README.md b/README.md new file mode 100644 index 0000000..e7e74d6 --- /dev/null +++ b/README.md @@ -0,0 +1,19 @@ +# Simple static blog (generator code and content) + +## Install + +``` +$ python3 -m venv .env +$ source .env/bin/activate +$ pip3 install -r requirements.txt +``` + +## Make a post + +``` +$ mkdir posts/hello-world +$ echo 'Title: Hello, World!' > posts/hello-world/metadata.txt +$ echo 'Date: 2022-12-23' >> posts/hello-world/metadata.txt +$ echo 'Hello, world!' > posts/hello-world/hello-world.txt +$ make deploy +``` -- cgit v1.2.3-70-g09d2