View Code? Open in Web Editor
NEW
License: GNU General Public License v3.0
HTML 3.24%
CSS 12.33%
Python 82.42%
JavaScript 0.88%
Shell 1.13%
ucc-shirt-vote's Introduction
A website for members of UCC to vote on T-shirt designs for our 50th Anniversary.
- Collect your shirt designs into one folder.
- Open
./readshirts.sh
, add the correct paths at the top.
- Run it to get the correct DB initialisation script.
- Insert into and run
init.py
to generate the DB. (Make sure to place it in cgi-bin!
)
- Host with cgi support:
python -m http.server --cgi 8000
- Visit at
localhost:8000
- HTMX
- AlpineJS
- Python (cgi)
- SQLite
![image](https://private-user-images.githubusercontent.com/20701908/346542892-18cb137b-bdcf-409d-a829-3f58dec9d7f1.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjQ1NTUxMTAsIm5iZiI6MTcyNDU1NDgxMCwicGF0aCI6Ii8yMDcwMTkwOC8zNDY1NDI4OTItMThjYjEzN2ItYmRjZi00MDlkLWE4MjktM2Y1OGRlYzlkN2YxLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA4MjUlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwODI1VDAzMDAxMFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTU5YjAzMDA1MGEwZTYwOWVlNDdhOTgyY2YwN2NiYzg5NmZhNmQ0ZTEwNWQwNmE0ZDJjNDNhYTdmNzI2ZWJkZDEmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.Irv_-aCElCdHdRBNEosN0K3FUoLqQV7w9RcbsCGHyH4)
ucc-shirt-vote's People
Contributors
Watchers