1
0
Fork 0
forked from plate/pollen
The worst Your Nectar Prices manager ever
  • Python 53%
  • JavaScript 22.8%
  • HTML 13%
  • CSS 11.2%
Find a file
2026-04-05 19:31:19 +01:00
pollen whoops cors 2026-04-05 19:31:19 +01:00
.gitignore commit 2026-03-29 21:36:41 +01:00
config.example.json clarify setup instructions and remove config footguns 2026-04-03 10:08:13 +01:00
pyproject.toml commit 2026-03-29 21:36:41 +01:00
README.md clarify setup instructions and remove config footguns 2026-04-03 10:08:13 +01:00

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