Configurable Web Application to analyse TE results.
Full documentation for the project is available at <>.
- Debian 12 or 13, or Ubuntu 22.04 or 24.04
- Python 3.10 or 3.11 or 3.12 or 3.13
-
Clone bublik backend to /opt/bublik/bublik.
-
Clone bublik frontend to /opt/bublik/bublik-ui.
-
Clone site-specific configuration to /opt/bublik/ts-rigs.
-
Launch deploy script:
cd /opt/bublik/bublik ./scripts/deploy -c ol/selftest -H bublik-db -k /etc/bublik.keytab -
Check to NGINX settings in /etc/nginx/sites-available/bublik:
location /v2/ { alias /opt/bublik/bublik-ui/dist/bublik/; index index.html; try_files $uri /v2/index.html; }
Demo is available at https://ts-factory.io/bublik/
For now some documentation can be found in doc/wiki here.
Pre-commit installs a local Git hook that runs before git commit creates a
commit. In this project, the hook runs Ruff on changed Python files via:
./scripts/pyformat -c <changed-python-files>
Install the hook once after setting up the repository:
pre-commit install
After that, every git commit will automatically run:
ruff format --check --diff <changed-python-files>
ruff check <changed-python-files>
If the hook fails, fix the reported issues and run git commit again. To apply
Ruff formatting and autofixes manually, run:
./scripts/pyformat <path_to_the_changed_file>
You can run the hook manually for all files with:
pre-commit run --all-files
You can disable the local hook with:
pre-commit uninstall
You can use pyformat script to run Ruff formatting and lint checks.
For this you need to run:
./scripts/pyformat -c <path_to_the_changes_file>
Then you can apply changes, if any, by running:
./scripts/pyformat <path_to_the_changed_file>
For more information, you can refer to the scripts/pyformat help section.