Pull and run docker image.
docker build -t pesio/rsabias .
docker run --name rsabias -dit -p 80:80 pesio/rsabias
For obtaining CMoCL API key, run:
docker exec -i -t rsabias /cmocl-key
- install dependencies with composer:
composer install
- configure a database connection in file
app/config/config.local.neon
- run initialization of a database
composer database-init
- run initialization of CMoCL
composer cmocl-init
- php >= 5.6
- php extensions
- bcmath
- openssl
- Nette 2.4
- Bootstrap 4.1
- jQuery 3.3
- Kdyby Console 2.7
- phpseclib 1.0.11 (http://phpseclib.sourceforge.net/)
- OpenPGP 0.0.1 (http://github.com/bendiken/openpgp-php)
Run php cli.php
and it downloads all dependencies and shows you all possible commands
php cli.php cli:groups
shows all groups from classification tablephp cli.php cli:classify file
classify keys (and urls) from a filefile