REST-API for the logdata-anomaly-miner
This software is WIP and not ready for production use. No security guarantees are given.
sudo /usr/lib/logdata-anomaly-miner/.venv/bin/python3 -m pip install -r requirements.txt
/usr/lib/logdata-anomaly-miner/.venv/bin/uvicorn RemoteControlApi:app --reload
./runUnittests.sh
sudo cp -r /home/ernst/Documents/logdata-anomaly-miner/source/root/usr/lib/logdata-anomaly-miner/* /usr/lib/logdata-anomaly-miner/ && clear && ./runUnittests.shcd logdata-anomaly-miner
sudo docker build --build-arg varbranch=development -f Dockerfile -t aminer .
cd ../aminer-rest
sudo docker build -f Dockerfile -t aminer-rest .Volumes must be removed to load changed files in logdata-anomaly-miner.
No data is stored in this volume.
sudo docker compose down -vThe testdata directory should not be changed. Use following lines to prevent tracking in git:
git update-index --skip-worktree testdata/aminer-rest-*
git update-index --skip-worktree testdata/aminer-run/aminer-remote.socketTo undo, simply run previous commands with --no-skip-worktree instead.