3 Blog at unlimited.pizza -> Only 3 at a time.
7 `npm install -g .` will expose the `blog` binary to your CLI.
9 ## How to add a new entry
11 Create a directory with a `.md` markdown file, and an `/assets`
12 directory with anything you want in there. This can be in any directory.
16 └── this-is-an-example-post
19 └── this-is-an-example-post.md
22 You can add this to the blog using the following command, it will shift
23 all entries and remove the oldest one if limit of posts is reached
26 `blog --add path/to/blog_post`
28 These commands will regenerate the static files. At that point you can
29 preview your blog by serving the files on the `static` directory.
31 If you need to make corrections use:
33 `blog --update path/to/blog_post`
35 This will replace the latest with the contents of the `path` without
36 shifting the existing entries.
40 Will publish the blog. (Currently unsupported)
44 At the moment, the app does not include any publishers. [surge][surge] is an easy
45 way to do it, just point it to your static directory.
49 If you want to know more about what's going on when blog generates
50 data, set the environment variable `NODE_DEBUG=blog`. This will
51 enable the debug messages
54 [surge]: https://surge.sh