1. Installation
1.1. Prerequisites
Make sure you have followed the instructions in our manual to add our package repository.
1.2. Distributions
1.2.1. Ubuntu
To install the .deb package use the following commands.
$ apt-get update
$ apt-get install halon-bounce-classifier
1.2.2. RHEL
To install the .rpm package use the following commands.
$ yum install halon-bounce-classifier
1.3. Startup
When the initial configuration is in place, the program can be started with:
$ sudo systemctl start halon-bounce-classifier
1.4. Docker & K8s
For instructions on how to build a container image of the program as well as deploying it on K8s (Kubernetes), see our halon-docker GitHub repository.
1.5. Docker Desktop with VS Code
For local running in Docker Desktop, make the following additions.
.devcontainer/Dockerfile
:
RUN apt-get update && apt-get -y install halon-bounce-classifier=1.0.0
.devcontainer/supervisord.conf
:
[program:bounce-classifier]
command=/opt/halon/bounce-classifier/venv/bin/python main.py
directory=/opt/halon/bounce-classifier/app
environment=PORT=8084
You can set configuration environment variables for the service here.