Arija A.'s personal website and services https://ari.lt/
  • Jinja 31.3%
  • Python 30.9%
  • JavaScript 23.8%
  • CSS 10.6%
  • C 2.8%
  • Other 0.5%
Find a file
Arija A. 07b5bc0491
Add AnonPay links
Signed-off-by: Arija A. <ari@ari.lt>
2026-06-28 19:02:57 +03:00
src Add AnonPay links 2026-06-28 19:02:57 +03:00
.editorconfig reinit 2026-06-07 08:17:27 +03:00
.eslintrc.js Improve UI and UX 2026-06-07 08:17:55 +03:00
.gitignore Add N of them to /world 2026-06-07 08:20:53 +03:00
.prettierrc Implement RSS validator 2026-06-07 08:17:58 +03:00
example.env Add a labels page 2026-06-07 08:21:31 +03:00
LICENSE Add tool: Two of Them 2026-06-07 08:20:53 +03:00
pyproject.toml Add loving of comments 2026-06-07 08:21:29 +03:00
README.md Fix create-counter command 2026-06-07 08:20:00 +03:00
requirements.txt Improve rate limiting customisation. 2026-06-07 08:21:25 +03:00
tox.ini reinit 2026-06-07 08:17:27 +03: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