Arija A.'s personal website and services https://ari.lt/
  • Python 31.3%
  • Jinja 31.3%
  • JavaScript 23.3%
  • CSS 10.6%
  • C 2.8%
  • Other 0.6%
Find a file
Arija A. 2c13e2ed1d
Fix guestbook search selectors
Signed-off-by: Arija A. <ari@ari.lt>
2026-05-10 20:41:19 +03:00
src Fix guestbook search selectors 2026-05-10 20:41:19 +03:00
.editorconfig reinit 2025-03-16 18:12:47 +02:00
.eslintrc.js Improve UI and UX 2025-08-22 23:42:23 +03:00
.gitignore Add N of them to /world 2025-12-31 23:30:03 +02:00
.prettierrc Implement RSS validator 2025-08-25 00:26:16 +03:00
example.env Add a labels page 2026-05-06 21:11:50 +03:00
LICENSE Add tool: Two of Them 2026-01-01 01:37:13 +02:00
pyproject.toml Add loving of comments 2026-04-28 00:11:32 +03:00
README.md Fix create-counter command 2025-11-01 12:54:15 +02:00
requirements.txt Improve rate limiting customisation. 2026-04-12 07:10:11 +03:00
tox.ini reinit 2025-03-16 18:12:47 +02:00

Ari.lt

Arija A.'s personal website and services

Running

First compile WASM PoW:

cd src/static/js/wasm
./compile.sh
cd ../../../../

Then:

python3 -m venv venv
source venv/bin/activate
source .env  # see example.env
pip install --upgrade -r requirements.txt
cd src
memcached -d
# If you remove migrations/:
# flask db init
# vim migrations/script.py.mako (add import flask_app)
# flask db migrate -m 'Initial migration'
flask db upgrade
flask run

For production use a WSGI server such as Gunicorn:

python3 -m venv venv
source venv/bin/activate
source .env  # see example.env
pip install --upgrade -r requirements.txt
pip install --upgrade gunicorn
cd src
memcached -d
flask db upgrade
python3 -m gunicorn -b 127.0.0.1:12345 -w 4 app:app  # ... Or whatever your configuration is