A Python program that can process log files and generate a daily report on anomalies in a set of logs.
pip install alogamous
Open a terminal
Install hatch
curl -Lo hatch-universal.pkg https://github.com/pypa/hatch/releases/latest/download/hatch-universal.pkg
sudo installer -pkg ./hatch-universal.pkg -target /
Restart your terminal
Hatch modifies your system PATH variable, and this won't take effect unless you restart the terminal.
Make sure hatch works
hatch --version
Configure hatch
hatch config set dirs.env.virtual .venv
Clone the repo
git clone https://github.com/aquanauts/alogamous.git
cd alogamous
Install pre-commit hooks
This will make sure certain checks are run when committing code.
hatch run pre-commit:install
Run the tests
hatch test
Setup your IDE
Sign up for a free JetBrains Educational License or buy one
Download Pycharm
Open Pycharm
Click Open on the welcome screen and then select the file alogamous
Permission Error
Message: PermissionError: [Errno 13] Permission denied: '/usr/local/hatch/bin/hatch'
Fix by running:
sudo chmod a+r /usr/local/hatch/bin/hatch
Gitignore is a way to explicitly tell Git that certain files should not be committed. For example, we did this with the .idea folder, which is automatically generated and contains settings that do not need to be committed.
touch .gitignore
git add .
git commit
If you open the .gitignore file, you can add lines directly there as well.
alogamous
is distributed under the terms of the MIT license.