Arija A.'s personal website and services https://ari.lt/
  • Python 32.3%
  • Jinja 31%
  • JavaScript 23%
  • CSS 10.4%
  • C 2.7%
  • Other 0.5%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Arija Arčenytė 0aac21b97a
Add email queue
Signed-off-by: Arija Arčenytė <ari@ari.lt>
2026-10-11 01:53:57 +03:00
src Add email queue 2026-10-11 01:53: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 Move AriGPT file storage to FileStorage 2026-09-11 22:32:50 +03:00
.prettierrc Implement RSS validator 2026-06-07 08:17:58 +03:00
example.env Move AriGPT file storage to FileStorage 2026-09-11 22:32:50 +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