Web catalog of Void Linux packages
Web catalog of Void Linux packages.
See also Running with docker.
git clone https://github.com/Chocimier/pkgs.void && cd pkgs.void
python3 -m venv venv && . venv/bin/activate
pip install -r requirements.txt
./update.sh
. This step publish whole directory on your-T
flag../serve.py
There is a CGI script cgi.sh
and FCGI script: fcgi.sh
.
Settings in config.ini
, if any, overrride setttings in configs/defaults.ini
Optional worker collecting build logs info from official Void builder
requires a queue server. By default it’s redis, but can be configured
to other supported by Celery.
docker-compose up
.This starts webserver listening on port 7547, two instances of webapp,
cron for updating database, buildlog worker and a queue server.
Containers communicate through shared voulems, so need to be run on
same host.
Configuration of webserver is loaded from volume mounted frommisc/docker/volumes/webserver-cfg
. It specifies count of webapp
instances and logging level.
Container that updates database builds minimal database on every
startup within 3 minutes, then full database two times an hour. Webapp
fails before first database is created.
Lint hooks are installed by symlinking .git/hooks
to git_hooks
.
They use tools specified in requirements-dev.txt
.
Pylint takes few seconds on commit to scan code.
Profiling script use graphviz.