Central API for A11yWatch available in REST, GraphQl, and gRPC.
To get started you can use docker or run on your local machine following the commands below. In order to run this repo effectively take a look at the docker compose file in the central command repo compose.
docker-compose up
or
npm i
npm run dev
Project configuration below:
To get the emailer working add the following env variables to the project.
[email protected]
EMAIL_CLIENT_ID=
EMAIL_CLIENT_KEY=
In order to store javascript locally to use you need to enable the following env vars:
SCRIPTS_ENABLED=true
A11YWATCH_NO_STORE=false
Enable CRON morning and nightly jobs
A11Y_WATCH_CRON_ENABLED=true
Set the limit to number of test in parallel per run to CRAWL_QUEUE_LIMIT
env var - default is set to 8.
If you have kubernetes, docker swarm, or Fargate - you can increase this limit based on your chrome browser count.
In order to easily test the application we use dagger
dagger do build
check the license file in the root of the project.