ari 40a42b4712 Fix imports
Signed-off-by: Arija Arčenytė <ari@ari.lt>
2026-11-04 18:39:51 +02:00
2026-11-04 18:39:51 +02:00
2026-06-07 08:17:27 +03:00
2026-06-07 08:17:55 +03:00
2026-10-18 23:47:19 +03:00
2026-06-07 08:17:58 +03:00
2026-06-07 08:20:53 +03:00
2026-06-07 08:21:29 +03:00
2026-06-07 08:20:00 +03:00
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
S
Description
Arija A.'s personal website and services https://ari.lt/
https://ari.lt/
Readme AGPL-3.0
25 MiB
0 Stars 1 Watchers 0 Forks
Languages
Python 34.7%
Jinja 30.1%
JavaScript 22%
CSS 10.1%
C 2.5%
Other 0.5%