forked from plate/pollen
The worst Your Nectar Prices manager ever
- Python 53%
- JavaScript 22.8%
- HTML 13%
- CSS 11.2%
| pollen | ||
| .gitignore | ||
| config.example.json | ||
| pyproject.toml | ||
| README.md | ||
pollen
Server to keep track of Your Nectar Prices for multiple Nectar cards. Also shows the card's barcode for use with SmartShop.
Low qualiity software, do not touch, do not ask.
setup
git clone https://git.squarebowl.club/plate/pollen
cd pollen
python -m venv venv
source venv/bin/activate
pip install .
# using waitress causes the instance dir to move
# here for some reason. unsure why
mkdir venv/var/pollen-instance
# don't skip this or cli commands will break.
ln -s venv/var/pollen-instance instance
sed -e "s/REPLACE_KEY/$(openssl rand -hex 64)/" \
-e "s/REPLACE_REG/$(openssl rand -hex 5)/" \
config.example.json > instance/config.json
flask --app pollen init-db
flask --app pollen create-user username password
waitress-serve