Skip to content

hackerspace-silesia/cebulany-manager

Repository files navigation

cebulany-manager

Build


# make virtualenv
python3.12 -m venv .venv
source .venv/bin/activate
pip install -e .
cd spa/
yarn install
yarn run build

to run front-end in developming mode

yarn run dev

Init

alembic upgrade head
python create_mock.py > mock.csv
./uwsgi-me.sh
# go to http://localhost:5000
# login (socek, socek) and upload mock.csv in transaction view

Run?

./uwsgi-me.sh

Managing users?

python -m cebulany.user_cli --help

Develop

Backend server

source .venv/bin/activate
cd cebulany/
FLASK_DEBUG=1 FLASK_APP=cebulany.app flask run

Frontend server

cd spa
yarn run dev