This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo yum install ncurses-devel geoip-devel libmaxminddb-devel tokyocabinet-devel openssl-devel | |
wget https://tar.goaccess.io/goaccess-1.3.tar.gz | |
tar -xzvf goaccess-1.3.tar.gz | |
cd goaccess-1.3/ | |
./configure --enable-utf8 --enable-geoip=legacy | |
make | |
sudo make install | |
# Run | |
# goaccess /var/log/nginx/access.log -c |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"I think we need to create cron management command (say, once per hour) or sync in a background task while login as you suggested to import data from git to django db. Also, we need to check for git conflicts while MDstatement is saving (pre_save signal) (return an error to a user if local git repo is outdated)." | |
>>So we need effectively an idempotent sync, that will be triggered by cron, login, and after save conflicts. Correct? | |
"'that we will need an API to add/modify/delete a MDstatement.' | |
Also, we need API for checkout status in this way." | |
>>Please explain. I thought, that an API-transaction (add/replace/delete) will be stateless, not requiring a checkout, only throwing an error if a lock exists. | |
ChangeView signal / API checkout method (create a new CheckOut status) |