Table of Contents
My electric toothbrush seems to be running out of charge quicker and quicker but is it or am I just misremembering when I last charged it? WDiL aims to help solve those sorts of problems by allowing you to record every time you do something and then see stats on things such as frequency and average interval.
Getting up and running is very straightforward:
-
download the code/clone the repository
-
install composer
-
add the smarty templating engine and phpMailer
composer.phar require smarty/smarty
composer.phar require PHPMailer/PHPMailer
-
follow the installation instructions below.
You can read more about how it all works in these blog posts.
Requirements are very simple, it requires the following:
- PHP (I tested on v8.1.13)
- [composer] (https://getcomposer.org/)
You must install the dependencies, create some required files and set the appropriate permissions. This is what I did but you may need to adjust depending on your flavour of OS:
git clone https://github.com/williamsdb/WDiL
cd WDiL\src
mkdir vendor
php composer.phar require smarty/smarty
php composer.phar require PHPMailer/PHPMailer
sudo mkdir templates_c
sudo chown apache:apache templates_c -R
sudo chcon -R -t httpd_sys_rw_content_t templates_c
sudo mv config_dummy.php config.php
sudo mkdir databases
sudo chown -R apache:apache databases
sudo chcon -R -t httpd_sys_rw_content_t databases
sudo touch logs.db
sudo touch users.db
sudo chown apache:apache *.db
sudo chcon -R -t httpd_sys_rw_content_t *.db
sudo chown apache:apache config.php
sudo chcon -R -t httpd_sys_rw_content_t config.php
For more information, please refer to the these blog posts
- None
See the open issues for a full list of proposed features (and known issues).
Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.
If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement". Don't forget to give the project a star! Thanks again!
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature
) - Commit your Changes (
git commit -m 'Add some AmazingFeature'
) - Push to the Branch (
git push origin feature/AmazingFeature
) - Open a Pull Request
Distributed under the GNU General Public License v3.0. See LICENSE
for more information.
X - @spokenlikeageek
Bluesky - @spokenlikeageek.com
Mastodon - @spokenlikeageek
Website - https://spokenlikeageek.com
Project link - Github
- None