-
Install dependencies
apt install dpkg-dev -y pip install pyinotify
-
Create a configuration file
config.json
in project directory. Architectures and distributions can be changed.{ "architectures": ["amd64", "armhf"], "dists": ["focal", "jammy"], "short_name": "repo_name", "description": "Your repository description", "email": "your_email@domain.com", "name": "Your Name", "port": 8645, "auth": "basic", "users": { "username1": "password1", "username2": "password2", } }
Available options:
- auth: basic, none
-
Run repository script by specifying configuration file.
./debianrepo.py -c config.json
-
Add your debian packages into
pool
folders based on architecture and distro.
When you start the repository server, CONNECTION_GUIDE.md
file will be created. You can see connection instructions in this file.