Skip to content

Record when you last carried out something and see stats over time

License

Notifications You must be signed in to change notification settings

williamsdb/WDiL

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

57 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation


When Did I Last? (WDiL)

Record when you last carried out something and see stats over time.

Table of Contents
  1. About The Project
  2. Getting Started
  3. Usage
  4. Roadmap
  5. Contributing
  6. License
  7. Contact
  8. Acknowledgments

About The Project

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.

(back to top)

Built With

(back to top)

Getting Started

Getting up and running is very straightforward:

  1. download the code/clone the repository

  2. install composer

  3. add the smarty templating engine and phpMailer

    composer.phar require smarty/smarty

    composer.phar require PHPMailer/PHPMailer

  4. follow the installation instructions below.

You can read more about how it all works in these blog posts.

Prerequisites

Requirements are very simple, it requires the following:

  1. PHP (I tested on v8.1.13)
  2. [composer] (https://getcomposer.org/)

Installation

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:

  1. git clone https://github.com/williamsdb/WDiL
  2. cd WDiL\src
  3. mkdir vendor
  4. php composer.phar require smarty/smarty
  5. php composer.phar require PHPMailer/PHPMailer
  6. sudo mkdir templates_c
  7. sudo chown apache:apache templates_c -R
  8. sudo chcon -R -t httpd_sys_rw_content_t templates_c
  9. sudo mv config_dummy.php config.php
  10. sudo mkdir databases
  11. sudo chown -R apache:apache databases
  12. sudo chcon -R -t httpd_sys_rw_content_t databases
  13. sudo touch logs.db
  14. sudo touch users.db
  15. sudo chown apache:apache *.db
  16. sudo chcon -R -t httpd_sys_rw_content_t *.db
  17. sudo chown apache:apache config.php
  18. sudo chcon -R -t httpd_sys_rw_content_t config.php

(back to top)

Usage

For more information, please refer to the these blog posts

(back to top)

Known Issues

  • None

See the open issues for a full list of proposed features (and known issues).

(back to top)

Contributing

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!

  1. Fork the Project
  2. Create your Feature Branch (git checkout -b feature/AmazingFeature)
  3. Commit your Changes (git commit -m 'Add some AmazingFeature')
  4. Push to the Branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

(back to top)

License

Distributed under the GNU General Public License v3.0. See LICENSE for more information.

(back to top)

Contact

X - @spokenlikeageek

Bluesky - @spokenlikeageek.com

Mastodon - @spokenlikeageek

Website - https://spokenlikeageek.com

Project link - Github

(back to top)

Acknowledgments

  • None

(back to top)

About

Record when you last carried out something and see stats over time

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published