The Ari-web blog. https://blog.ari.lt/
Find a file
Ari Archer 6aa96772cf
update @ Fri 19 Aug 02:38:18 EEST 2022
Signed-off-by: Ari Archer <ari.web.xyz@gmail.com>
2022-08-19 02:38:18 +03:00
completions update @ Sun 5 Jun 21:49:56 EEST 2022 2022-06-05 21:49:56 +03:00
content update @ Sat 25 Jun 14:48:09 EEST 2022 2022-06-25 14:48:09 +03:00
scripts update @ Fri 19 Aug 02:12:47 EEST 2022 2022-08-19 02:12:47 +03:00
.editorconfig init 2022-03-11 13:35:37 +02:00
.gitignore update @ Tue 21 Jun 13:27:59 EEST 2022 2022-06-21 13:27:59 +03:00
blog.json update @ Fri 19 Aug 02:38:18 EEST 2022 2022-08-19 02:38:18 +03:00
LICENSE init 2022-03-11 13:35:37 +02:00
netlify.toml update @ Tue 9 Aug 05:12:40 EEST 2022 2022-08-09 05:12:40 +03:00
README.md update @ Sun 12 Jun 10:25:36 EEST 2022 2022-06-12 10:25:37 +03:00
requirements.txt update @ Sat 21 May 18:57:24 EEST 2022 2022-05-21 18:57:24 +03:00
runtime.txt update @ Fri 11 Mar 13:40:22 EET 2022 2022-03-11 13:40:22 +02:00
tox.ini init 2022-03-11 13:35:37 +02:00

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=1 ./scripts/blog static
  • Only build blogs
$ CI=1 ./scripts/blog static

CI 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 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