Ari-web source code https://ari.lt/ https://ari.lt/
Find a file
Arija A. ef2eb0ecf4
Add kiwigrape badge
Signed-off-by: Arija A. <ari@ari.lt>
2025-11-28 22:12:18 +02:00
src Add kiwigrape badge 2025-11-28 22:12:18 +02:00
.editorconfig
.eslintrc.js
.gitignore Add "current status", improve datetime handling. 2025-09-05 22:07:56 +03:00
.prettierrc
example.env Instead of UTC_OFFSET use MY_TZ and ZoneInfo 2025-10-28 22:54:56 +02:00
LICENSE
pyproject.toml
README.md Fix create-counter command 2025-11-01 12:54:15 +02:00
requirements.txt Do server-side picture storage 2025-10-19 16:09:30 +03:00
tox.ini

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