The worst Your Nectar Prices manager ever
https://pollen.squarebowl.club
- Python 50.6%
- JavaScript 24%
- HTML 13.7%
- CSS 11.7%
| 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 quality 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 -p 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 pollen:app