Skip to content

Latest commit

 

History

History
60 lines (43 loc) · 880 Bytes

File metadata and controls

60 lines (43 loc) · 880 Bytes

Install

Requirements

  • Python 3.11+
  • Node.js 18+ (only for frontend)

Backend

python3 -m venv env
env/bin/python -m pip install --upgrade pip
env/bin/python manage.py

Default run mode is master on 0.0.0.0:45678 with role DB (Master.db by default).

For distributed mode (master + agent), follow README.md.

Frontend

cd frontend
npm install
npm run serve

Debian / APT package (.deb)

Build package:

./packaging/deb/build.sh

Install with apt:

sudo apt install ./dist/deb/porthound4_<version>-1_all.deb

Start service:

sudo systemctl enable --now porthound4
sudo systemctl status porthound4

Portable ZIP package

Build package:

./packaging/zip/build.sh

Extract and run:

unzip dist/zip/porthound4_<version>-1.zip
cd porthound4_<version>-1
python3 manage.py