This dump is self-contained. It carries the full CODECHECK schema —
codecheck_metadata(including theissuecolumn),codecheck_status,codecheck_issue_labelsandcodecheck_orcid_tokens— plus theshowArticleSidebarplugin setting, so loading it produces a working instance with no repair step. The plugin's migration is not involved.The shipped
config.inc.phpis not usable as-is:files_dirpoints at a MAMP path and the database block assumesroot/rooton a database namedojs.make ojs-configrewrites these.
This dump is a fixture that CI's e2e job and every local development
environment load. When you change the shape of anything stored in
codecheck_metadata — including the JSON blobs inside it — update this dump in
the same commit. The plugin's migrations only run when the plugin is enabled through the UI;
they are not applied when this dump is loaded, so schema changes have to be
written into it by hand — the table definitions here must be kept in step with
classes/migration/install/CodecheckSchemaMigration.php.
A format change that skips this step fails silently: the seeded articles keep
loading, the tests keep passing, and the affected field just renders as empty.
After editing, run make db-reset && make test-e2e && make screenshots and look
at the resulting images.
From the plugin root, make setup loads this dataset and wires up an OJS
installation in one step. See "Local development environment"
in the main README.
The manual procedure below remains valid for other setups.
- Download OJS 3.5 and install it
- Clone the PKP Datasets Repository
- Place it somewhere on your local machine — there is no need for it to be in the direcrtory of the beforehand installed OJS instance
- Copy the directory stable-3_5_0-codecheck into
/datasets/ojsof the PKP Datasets Repository cd /ojsin your OJS installation directorymkdir files- Set environment variables (adjust credentials to match your MySQL setup):
export DBTYPE=MySQL export DBTYPE_SYMBOLIC=mysql export DBUSERNAME=root export DBPASSWORD=root export DBNAME=ojs_dump export DBHOST=localhost export APP=ojs export BRANCH=stable-3_5_0-codecheck
/path/to/datasets/tools/load.sh
- Update
config.inc.phpdatabase settings:driver = mysqli host = localhost username = root password = root name = ojs_dump php -S localhost:8000(Username:admin, Password:admin)
Journal: CODECHECK Demo Journal (path: codecheck)
Users: All passwords follow the pattern username repeated twice (except admin)
| Username | Password | Role |
|---|---|---|
| admin | admin | Administrator |
| jmanager | jmanager | Journal Manager, Editor |
| seglen | seglen | Author |
| dnuest | dnuest | Author |
| fostermann | fostermann | Author |
| rreviewer | rreviewer | Reviewer |
Articles: 8 submissions from the CODECHECK register
- 5 published (3 in Issue 1, 2 in Issue 2)
- 2 under review
- 1 submitted
Demonstrates:
- Article with two codecheckers (2020-002: Eglen + Nüst)
- Three different codecheckers (Eglen, Nüst, Ostermann)
- Multiple conference venues (AGILE, GigaScience, J Geogr Syst)
- A private repository: submission 7 (certificate 2022-009) carries one public
and one private repository, so the "Keep private" flag can be exercised
end to end — visible to editors in the workflow, filtered out of everything
readers see. Covered by
cypress/tests/e2e/private-repository.cy.js; keep both entries if you regenerate the dump.