mirror of
https://git.ari.lt/ari.lt/blog.ari.lt.git
synced 2025-02-04 09:39:25 +01:00
The Ari-web blog. https://blog.ari.lt/
8280bf6708
Signed-off-by: Ari Archer <ari.web.xyz@gmail.com> |
||
---|---|---|
completions | ||
content | ||
scripts | ||
.editorconfig | ||
.gitignore | ||
blog.json | ||
LICENSE | ||
netlify.toml | ||
README.md | ||
requirements.txt | ||
runtime.txt | ||
tox.ini |
Ari-web blogs
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.
The API and hidden blogs
Some blogs might be hidden for a day or two if I'm working on it or just need to hide it to not show some stuff on the main page, though nobody is stopping you from using the static API, it's located at /blog.json