Giter VIP home page Giter VIP logo

docker-pa11y's Introduction

Pa11y Dashboard Docker Container

Your Automated Accessibility Testing Pal

Use Pa11y Dashboard to run tests, save results, and monitor the accessibility of your web projects. Pa11y Dashboard takes the power of the Pa11y Project and puts it in your browser. This project makes it easy to get started with your own instance of Pa11y Dashboard, by handling all the dependencies and setup with Docker.

Getting Started

Make sure you have Docker installed. Clone or download this repository to your local machine, open up terminal, and then cd docker-pa11y.

Modify the production.json as needed for your desired configuration options

Run docker-compose up to begin building the Docker containers.

Once you see terminal output from web_1 and database_1, Pa11y Dashboard should be ready to go. Navigate to http://localhost:8000 in your browser, and you should see the Pa11y Dashboard welcome screen.

docker-pa11y's People

Contributors

nickstees avatar robloach avatar tyjak avatar una avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

docker-pa11y's Issues

Cannot delete elements from hide elements

I am unable to delete all selectors from the 'Hide Elements' category once they have been added. I am able to make changes to the list of selectors but not delete them altogether even if it means I only have one character written. I do receive a message that changes have been saved in both cases.

Docker container doesn't start

The container build fails with these errors:

> [email protected] install /dashboard/node_modules/puppeteer
> node install.js

/dashboard/node_modules/puppeteer/install.js:90
let progressBar = null;
^^^

SyntaxError: Block-scoped declarations (let, const, function, class) not yet supported outside strict mode
    at exports.runInThisContext (vm.js:53:16)
    at Module._compile (module.js:387:25)
    at Object.Module._extensions..js (module.js:422:10)
    at Module.load (module.js:357:32)
    at Function.Module._load (module.js:314:12)
    at Function.Module.runMain (module.js:447:10)
    at startup (node.js:148:18)
    at node.js:405:3
npm info lifecycle [email protected]~install: Failed to exec install script
npm ERR! Linux 4.19.76-linuxkit
npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "i"
npm ERR! node v5.12.0
npm ERR! npm  v3.8.6
npm ERR! code ELIFECYCLE

npm ERR! [email protected] install: `node install.js`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] install script 'node install.js'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the puppeteer package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     node install.js
npm ERR! You can get information on how to open an issue for this project with:
npm ERR!     npm bugs puppeteer
npm ERR! Or if that isn't available, you can get their info via:
npm ERR!     npm owner ls puppeteer
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR!     /dashboard/npm-debug.log
ERROR: Service 'web' failed to build: The command '/bin/sh -c git clone https://github.com/pa11y/dashboard.git && cd dashboard && npm i' returned a non-zero code: 1

Documentation

It would be nice to have some getting started docs ๐Ÿ˜„

Deprecated Phantomjs

Can't build docker image : Phantomjs error (deprecated).

I made a pull request to remove this dependancie : #10

Error while starting pa11y

I encounter an error at the end of the launching of pa11y using the command indicated on readme:

docker-compose -f compose/docker-compose.yml up
database_1  | 2019-02-01T08:49:28.744+0000 I NETWORK  [HostnameCanonicalizationWorker] Starting hostname canonicalization worker
: not found | /entrypoint.sh: 2: /entrypoint.sh:
: not found | /entrypoint.sh: 5: /entrypoint.sh:   "port": 4000,\n
: not found | /entrypoint.sh: 6: /entrypoint.sh:   "noindex": true,\n
: not found | /entrypoint.sh: 7: /entrypoint.sh:   "readonly": false,\n
: not found | /entrypoint.sh: 8: /entrypoint.sh:   "webservice": {\n
web_1       | {
web_1       |
: not found | /entrypoint.sh: 9: /entrypoint.sh:     "database": "mongodb://mongodb/pa11y-webservice",\n
: not found | /entrypoint.sh: 10: /entrypoint.sh:     "host": "0.0.0.0",\n
: not found | /entrypoint.sh: 11: /entrypoint.sh:     "port": 3000,\n
: not found | /entrypoint.sh: 12: /entrypoint.sh:     "cron": "0 30 0 * * *"\n
: not found | /entrypoint.sh: 13: /entrypoint.sh:   }\n
web_1       | /entrypoint.sh: 14: /entrypoint.sh: }: not found
: not found | /entrypoint.sh: 15: /entrypoint.sh:
web_1       | module.js:341
web_1       |     throw err;
web_1       |     ^
web_1       |
'eb_1       | Error: Cannot find module '/dashboard/.
web_1       |     at Function.Module._resolveFilename (module.js:339:15)
web_1       |     at Function.Module._load (module.js:290:25)
web_1       |     at Function.Module.runMain (module.js:447:10)
web_1       |     at startup (node.js:148:18)
web_1       |     at node.js:405:3
compose_web_1 exited with code 1

Is there any configuration I need to had in order to make all work?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.