heikkilevanto / beertracker

Simple script to track the beers I drink
GNU General Public License v2.0
2 stars 1 forks source link

Set up a -dev installation #286

Closed heikkilevanto closed 4 months ago

heikkilevanto commented 4 months ago

The old way of renaming the script while editing it works, but is cumbersome. Better to have a -dev directory, check out there, maybe even a branch, commit as work progresses, and merge or at least pull to the real site when done.

The blue background is a good reminder, keep that for the -dev

The -dev could have its own data files, copied over when starting to work on a feature, so as not to pollute real data when working

Would be nice if the -dev version had a warning on the top of every page that it is the -dev version, maybe branch name, and timestamp of the script. Maybe also a warning if the production script is newer than the -dev

heikkilevanto commented 4 months ago

Seems to work now. Required a bit more manual work, like '''sudo cp -a ../beertracker/beerdata . '''