e88'Y88 888 888 ,e, -+syys/.
d888 'Y 888 ee ,"Y88b 888 88e 888 " 888 8e +NMMMMMMMMd-
C8888 888 88b "8" 888 888 888b 888 888 888 88b yMMMMMMMMMMMM:
Y888 ,d 888 888 ,ee 888 888 888P 888 888 888 888 .MMMMMMMMMMMMMd
"88,d88 888 888 "88 888 888 88" 888 888 888 888 -MMMMMMMMMMMMMd
888 +yhMMMMMMMMMMMMMNyy/
888 -//////////////////.
Chaplin is a local virtual environment built with Vagrant designed to let developers render beautiful and useful analytics reports from static server logs using GoAccess.
1. Clone repo
git clone https://github.com/josephgagliardi/chaplin.git
2. Navigate into directory
cd chaplin
3. Replace server log file at chaplin/apache-logs/sample.log
4. Run Vagrant up
5. View site
http://192.168.33.10
1. Login to view reports
admin
chaplin
2. Run chaplin-build
to re-run reports
Note: Stay on Vagrant 1.8.5 to ensure Sharing works https://releases.hashicorp.com/vagrant/1.8.5/
Share with others
vagrant share
Build reports
chaplin-build
Add new users
chaplin-authorize <username>
Permissions use Apache htpasswd
- Username/Passwords are stored as encrypted key-value pairs in /etc/apache2/.htpasswd
- Empty this file of its contents to revoke access of default account
- Note that if you remove the file entirely versus merely removing its contents you will need to run
sudo htpasswd -c /etc/apache2/.htpasswd charlie