samayer12 / cocktails

An excuse to combine data science and mixology
1 stars 0 forks source link

Changed setup script to allow python3 and added refresh button #2

Closed blaverick62 closed 2 years ago

blaverick62 commented 2 years ago

Changed setup script to accept all python 3.x interpreters, added new cocktail button that refreshes page.

samayer12 commented 2 years ago

Since I've encountered compatibility issues with Python < 3.8, I've modified setup.sh to check for a hardcoded minimum python version before proceeding.

The comparison of version strings in vercomp.sh came from here. I modified it so that it silently runs a self-test before execution by setup.sh.

Including references to other BASH files is brittle, so I clarified the context that scripts/setup.sh needs to run in (project root).

Thanks for the button!