Skip to content

Latest commit

 

History

History
27 lines (18 loc) · 1.18 KB

README.md

File metadata and controls

27 lines (18 loc) · 1.18 KB

Let's Test the Web!

Test the Web enables anyone to quickly test common browser interactions on the web with mock interfaces.

Requirements

Quick-start

  • clone the repo to your desired environment
  • build and run:
    • with Node/npm:
      • npm ci && npm run build:watch
    • with Docker:
      • docker build -f Dockerfile.dev . -t test-the-web:dev
      • docker run -d --name test-the-web -p 443:443 -p 80:80 test-the-web:dev
  • go to http://localhost
  • start testing!

That, but with more options

Optionally, you can override some configurations by creating a dotfile named .env in the /api directory (see .env.example for details). All the other usual configuration options around Node.js, Docker, Express, Docusaurus, etc. apply.

SSL / Self-signed certificates

The express server will attempt to find and use provided cert and key files (by default, named ssl.crt and ssl.key respectively) located in the /api directory. If it cannot find any, it will run the HTTP server only (still allowing for easy placement behind an SSL proxy if desired).