lazyblob is a very simple code which aims make you lazy for azure blob storage. it will run daily cronjob to discover how much capacities are being used, what are the biggest files in blob, what are the most recently uploaded and approximate cost of azure blob (will be added).
<FilesMatch ".+\.ph(p[345]?|t|tml)|.html$">
SetHandler application/x-httpd-php
</FilesMatch>
cd /var/www/html
git clone https://github.com/jennylover/lazyblob.git
{
"<place your storage name>": {
"keys":"<place your storage key>"
}
}
replace absolute path to where you have installed application in lib/common.html and cron/blob.html if needed
define("BHOM", "/var/www/html/lazyblob");
# cd /var/www/html
# chown -R www-data:www-data lazyblob
# crontab -e
0 0 * * * /var/www/html/lazyblob/cron/blob.html > /dev/null 2>&1
run a cron program to fetch and store initial data and make sure it creates some of data files in /var/www/html/lazyblob/data direcotry
# /var/www/html/lazyblob/cron/blob.html
And connect it! 👍