diff options
author | Dmitry Ilvokhin <d@ilvokhin.com> | 2022-12-26 20:10:43 +0000 |
---|---|---|
committer | Dmitry Ilvokhin <d@ilvokhin.com> | 2022-12-26 20:10:43 +0000 |
commit | d476691b86810e1dc1e9ea37c3fb9c6728f722ee (patch) | |
tree | 7f2686f4ce2617dc2caf0c371967ce0057929b3e /README.md | |
parent | 141225d062af26af3a2248653c6ebb0c502502b6 (diff) | |
download | blog-d476691b86810e1dc1e9ea37c3fb9c6728f722ee.tar.gz blog-d476691b86810e1dc1e9ea37c3fb9c6728f722ee.tar.bz2 blog-d476691b86810e1dc1e9ea37c3fb9c6728f722ee.zip |
Add README.md file
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 19 |
1 files changed, 19 insertions, 0 deletions
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 +``` |