blog.ari.lt/README.md
Ari Archer 41ef6b68ef
update @ Thu 7 Apr 22:32:55 EEST 2022
Signed-off-by: Ari Archer <ari.web.xyz@gmail.com>
2022-04-07 22:32:55 +03:00

1.4 KiB

Ari-web blogs

Netlify Status

Installing dependencies

$ python3 -m virtualenv venv
$ . venv/bin/activate
$ pip install -r requirements.txt

Or

$ python3 -m pip install --user -r requirements.txt

Completions

  • Bash
$ . completions/blog.bash

Building

  • Generate full-on static site
$ CI_BUILD=1 ./scripts/blog static
  • Only build blogs
$ CI_BUILD=1 ./scripts/blog static

CI_BUILD environment variable is optional, though setting it in a build/ci environment is good to save time on some operations that are useless in that context, for example sorting blogs.

CI_BUILD can have any value.