This README covers topics related to build and deploy the rules and rule server.
- For information on creating and modifying the rules, see README-RULES.
- For information on installing the engine in a Node or browser environment, see README-NPM.
By default, deployments build the current ruleset as the preview
archive.
However, different branches deploy to different servers.
The master
branch deploys to able-main.xcc2slstt6y.us-south.codeengine.appdomain.cloud/rules.
For end users to see and be able to select the preview
rule set in the settings, changes must be merged into the prod
branch.
-
Install: In
accessibility-checker-engine
andrule-server
runnpm install
-
Build: Delete
rule-server/dist
. Inrule-server
,npm run build
-
Deploy: The new archive will be found in
rule-server/dist/static/archives/preview
. Copy and renamepreview
to the archive directory (e.g.,rule-server/src/static/archives/yyyy.mm.dd
) -
Metadata: Add an entry to
rule-server/src/static/archives.json
. See other entries for examples. Ensure that you move thelatest
property to the new archive.
If you think you've found a bug, have questions or suggestions, open a GitHub Issue, tagged with engine
.
If you are an IBM employee, feel free to ask questions in the IBM internal Slack channel #accessibility-at-ibm
.