The Ari-web blog. https://blog.ari.lt/
Find a file
Ari Archer b5dbb1d154
update @ Fri 10 Jun 22:46:40 EEST 2022
Signed-off-by: Ari Archer <ari.web.xyz@gmail.com>
2022-06-10 22:46:40 +03:00
completions update @ Sun 5 Jun 21:49:56 EEST 2022 2022-06-05 21:49:56 +03:00
content update @ Wed 1 Jun 15:01:30 EEST 2022 2022-06-01 15:01:30 +03:00
scripts update @ Sun 5 Jun 21:49:56 EEST 2022 2022-06-05 21:49:56 +03:00
.editorconfig init 2022-03-11 13:35:37 +02:00
.gitignore init 2022-03-11 13:35:37 +02:00
blog.json update @ Fri 10 Jun 22:46:40 EEST 2022 2022-06-10 22:46:40 +03:00
LICENSE init 2022-03-11 13:35:37 +02:00
netlify.toml update @ Sun 5 Jun 21:09:07 EEST 2022 2022-06-05 21:09:07 +03:00
README.md update @ Wed 1 Jun 16:19:08 EEST 2022 2022-06-01 16:19:08 +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_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