opus4-repo / opus4-job
OPUS 4 Job Library
Installs: 5 717
Dependents: 2
Suggesters: 0
Security: 0
Stars: 0
Watchers: 4
Forks: 0
Open Issues: 7
Requires
- ext-json: *
- opus4-repo/opus4-common: ^4.8
Requires (Dev)
- opus4-repo/codesniffer: dev-laminas
- opus4-repo/framework: ^4.8
- phpmetrics/phpmetrics: 2.7.4
- phpunit/phpunit: <9
README
Background processing for OPUS 4
Testing
First you need to install
or update
the Composer dependencies.
$ composer install
The unit tests of opus4-job require a OPUS 4 database. You can create it using the Framework opus4db
tool.
$ vendor/bin/opus4db -d --dbname opus4job
The name of the database can be freely chosen.
The setup can be simplified by using the following two environment variables to specify the database users that should be used for testing across all the OPUS 4 packages and their connected database schemas. This should only be used for development.
OPUS4_DEV_DB_ADMIN
OPUS4_DEV_DB_USER
The access information for the database are stored in database.ini
.
TODO How is database.ini
created?