Kasse für Kerzenziehen
- Install https://www.apachefriends.org/de/index.html
- Run the config tool as root and make sure
apache
andmysql
are automatically run as services, see http://www.sintesisdigital.com.mx/dashboard/docs/auto-start-xampp.html. - Config changes:
- enable
short_open_tag
inphp.ini
, see https://stackoverflow.com/questions/5603898/php-file-with-tags-in-xampp - Optional allow
phpmyadmin
acccess from external, see https://www.apachefriends.org/faq_windows.html but also set a password, see https://www.thewindowsclub.com/how-to-change-phpmyadmin-password-on-xampp
- Clone the git repo https://github.com/caco3/KerzenziehenKasse to
D:\xampp\htdocs\kerzenziehen
.
- Copy
src/config/config.php.template
tosrc/config/config.php
and update its content as needed. - Point your webbrowser to
src/
.
- Copy
database_backup.bat.bat.template
todatabase_backup.bat.bat
and update its content as needed. - Setup a task to run it periodically. Use following cmd line code to register it (open cmd shell as Admin!):
schtasks /create /ru "SYSTEM" /tn "DB-Backup" /tr "C:\xampp\htdocs\kerzenziehen\database_backup.bat" /sc minute /mo 60
. UseTaskschd.msc
to check it and see https://techrando.com/2019/06/22/how-to-execute-a-task-hourly-in-task-scheduler/