Welcome to yet another introduction to a side-project of mine. This time I’d like to talk about Naughtyfire.
Naughtyfire allows remote (home-based) developers to automatically notify their boss that they are taking a day off for a specific date. Settings, clients and events can be set in the web interface. All you need to do is to put it in the
public_html directory in your home folder.
Notifications are done via email through a mail provider of your choice. I’ve only tested Mandrill configuration but it should work with other mail service providers supported by SwiftMailer.
This project is meant to be used locally on your own computer. But you can also upload it on a server and set it up from there.
How to Use
- Put it on your
- If you have installed it on a folder under your
public_htmldirectory, you have to setup a virtual host for that path and then use it when accessing it from the browser. Accessing it via
http://localhost/naughtyfirewouldn’t work since the assets are linked using an absolute path. I recommend seetting the host name to
- Navigate to the naughtyfire root directory then install the libraries by executing
composer installon your terminal.
- Create the database that naughtyfire will use.
- Create a
phinx.ymlfile and update the database credentials. You only have to update the values under the
developmentconfiguration. Specifically the
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32
Access the host that you have selected (e.g.
naughtyfire.dev) from your browser. The default page is the page for creating new events. But you can also access the following pages.
/settings– for updating the settings. Here you can set the twilio credentials and mail settings. If you leave the twilio credentials or mail settings blank, the notification wouldn’t work. Choose either one of those or both and then supply the correct values.
/recepients– for listing current recepients.
/recepients/new– for creating a new recepient.
wget to request for the notifer URL once a day.
Here are a couple of screenshots of the app.
You can find more details about this project on its project page.
If you have an idea or you want to contribute to this project, feel free to check it out, fork it, or create an issue in its github repo.