Code Monkey home page Code Monkey logo

docker-pa11y's Introduction

docker-pa11y Dashboard in Docker

Test the docker pa11y dashboard and webservice in a docker environment.

Requirements

  • Docker and the docker-compose tool
  • Browser

How to use

Simply start the containers (dashboard and mongo):

If you have make installed:

make run

else:

docker-compose up -d

Check the logs:

make logs

or:

docker-compose logs -f dashboard

Go to the browser:

http://localhost:4000/

See also

docker-pa11y's People

Contributors

baschny avatar

Stargazers

 avatar

Watchers

 avatar  avatar

docker-pa11y's Issues

Problem with build

=> [3/6] WORKDIR /home/node 0.0s
=> ERROR [4/6] RUN git clone https://github.com/pa11y/pa11y-dashboard.g 30.5s

[4/6] RUN git clone https://github.com/pa11y/pa11y-dashboard.git pa11y-dashboard && cd pa11y-dashboard && npm install:
#0 0.164 Cloning into 'pa11y-dashboard'...
#0 1.757 npm WARN read-shrinkwrap This version of npm is compatible with lockfileVersion@1, but package-lock.json was generated for lockfileVersion@2. I'll try to do my best with it!
#0 5.592 npm WARN deprecated [email protected]: < 18.1.0 is no longer supported
#0 5.887 npm WARN deprecated [email protected]: Legacy versions of mkdirp are no longer supported. Please update to mkdirp 1.x. (Note that the API surface has changed to use Promises in 1.x.)
#0 9.156 npm WARN deprecated @hapi/[email protected]: This version contains severe security issues and defects and should not be used! Please upgrade to the latest version of @hapi/hapi or consider a commercial license (hapijs/hapi#4114)
#0 9.272 npm WARN deprecated @hapi/[email protected]: This version has been deprecated and is no longer supported or maintained
#0 9.446 npm WARN deprecated @hapi/[email protected]: This version has been deprecated and is no longer supported or maintained
#0 9.494 npm WARN deprecated @hapi/[email protected]: This version has been deprecated and is no longer supported or maintained
#0 9.521 npm WARN deprecated @hapi/[email protected]: This version has been deprecated and is no longer supported or maintained
#0 9.532 npm WARN deprecated @hapi/[email protected]: Switch to 'npm install joi'
#0 9.559 npm WARN deprecated @hapi/[email protected]: This version has been deprecated and is no longer supported or maintained
#0 9.736 npm WARN deprecated @hapi/[email protected]: This version has been deprecated and is no longer supported or maintained
#0 9.778 npm WARN deprecated @hapi/[email protected]: This version has been deprecated and is no longer supported or maintained
#0 9.802 npm WARN deprecated @hapi/[email protected]: This version has been deprecated and is no longer supported or maintained
#0 9.862 npm WARN deprecated @hapi/[email protected]: This version has been deprecated and is no longer supported or maintained
#0 9.874 npm WARN deprecated @hapi/[email protected]: This version has been deprecated and is no longer supported or maintained
#0 9.892 npm WARN deprecated @hapi/[email protected]: This version has been deprecated and is no longer supported or maintained
#0 10.03 npm WARN deprecated @hapi/[email protected]: This version has been deprecated and is no longer supported or maintained
#0 10.05 npm WARN deprecated @hapi/[email protected]: This version has been deprecated and is no longer supported or maintained
#0 10.08 npm WARN deprecated @hapi/[email protected]: This version has been deprecated and is no longer supported or maintained
#0 10.11 npm WARN deprecated @hapi/[email protected]: This version has been deprecated and is no longer supported or maintained
#0 10.16 npm WARN deprecated @hapi/[email protected]: This version has been deprecated and is no longer supported or maintained
#0 10.30 npm WARN deprecated @hapi/[email protected]: This version has been deprecated and is no longer supported or maintained
#0 10.44 npm WARN deprecated @hapi/[email protected]: Switch to 'npm install joi'
#0 10.92 npm WARN deprecated @hapi/[email protected]: Moved to 'npm install @sideway/formula'
#0 11.23 npm WARN deprecated @hapi/[email protected]: Moved to 'npm install @sideway/address'
#0 11.29 npm WARN deprecated @hapi/[email protected]: Moved to 'npm install @sideway/pinpoint'
#0 11.51 npm WARN deprecated @hapi/[email protected]: This version has been deprecated and is no longer supported or maintained
#0 11.88 npm WARN deprecated @hapi/[email protected]: This version has been deprecated and is no longer supported or maintained
#0 12.18 npm WARN deprecated @hapi/[email protected]: This version has been deprecated and is no longer supported or maintained
#0 12.78 npm WARN deprecated @hapi/[email protected]: This version has been deprecated and is no longer supported or maintained
#0 13.04 npm WARN deprecated @hapi/[email protected]: This version has been deprecated and is no longer supported or maintained
#0 13.35 npm WARN deprecated @hapi/[email protected]: This version has been deprecated and is no longer supported or maintained
#0 13.40 npm WARN deprecated @hapi/[email protected]: This version has been deprecated and is no longer supported or maintained
#0 13.40 npm WARN deprecated @hapi/[email protected]: This version has been deprecated and is no longer supported or maintained
#0 14.03 npm WARN deprecated @hapi/[email protected]: This version has been deprecated and is no longer supported or maintained
#0 14.59 npm WARN deprecated @hapi/[email protected]: This version has been deprecated and is no longer supported or maintained
#0 29.69
#0 29.69 > [email protected] install /home/node/pa11y-dashboard/node_modules/puppeteer
#0 29.69 > node install.js
#0 29.69
#0 29.83 The chromium binary is not available for arm64.
#0 29.83 If you are on Ubuntu, you can install with:
#0 29.83
#0 29.83 sudo apt install chromium
#0 29.83
#0 29.83
#0 29.83 sudo apt install chromium-browser
#0 29.83
#0 29.83 /home/node/pa11y-dashboard/node_modules/puppeteer/lib/cjs/puppeteer/node/BrowserFetcher.js:115
#0 29.83 throw new Error();
#0 29.83 ^
#0 29.83
#0 29.83 Error
#0 29.83 at /home/node/pa11y-dashboard/node_modules/puppeteer/lib/cjs/puppeteer/node/BrowserFetcher.js:115:27
#0 29.83 at FSReqCallback.oncomplete (fs.js:168:21)
#0 30.02 npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@~2.3.1 (node_modules/chokidar/node_modules/fsevents):
#0 30.02 npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"arm64"})
#0 30.02
#0 30.07 npm ERR! code ELIFECYCLE
#0 30.07 npm ERR! errno 1
#0 30.07 npm ERR! [email protected] install: node install.js
#0 30.07 npm ERR! Exit status 1
#0 30.07 npm ERR!
#0 30.07 npm ERR! Failed at the [email protected] install script.
#0 30.07 npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
#0 30.08
#0 30.08 npm ERR! A complete log of this run can be found in:
#0 30.08 npm ERR! /home/node/.npm/_logs/2022-12-09T20_49_58_571Z-debug.log


failed to solve: executor failed running [/bin/sh -c git clone https://github.com/pa11y/pa11y-dashboard.git pa11y-dashboard && cd pa11y-dashboard && npm install]: exit code: 1
make: *** [run] Error 17

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.