ClearBlog/README.md

34 lines
814 B
Markdown

# ClearBlog
A simple blog software with calendar and FAQ publishing.
Only 1 role "blogger" with password (can only be created by another blogger).
Posts can have a date OR a title.
## Install
```
bundle install
cp config.yaml.sample config.yaml
edit config.yaml
```
## Run
```
bin/blog
```
## Commands
### Create a new post for a given date or topic
```
bin/post --today --file input.txt # you can read a file. today avoid writting the date manualy
bin/post --today --stdin < input # you can read stdin
bin/post --today < input # --stdin is optional, you can not specify it
bin/post --date "2022-02-02" --stdin < input # specify a date OR a topic, not both
bin/post --title --stdin < input # you can specify the topic instead
```
tip: use rlwrap if you want to use the stdin version