Skip to content

Local Test Server

Jack Buehner edited this page Oct 18, 2018 · 2 revisions

When making changes to the website, test them locally before pushing them to GitHub.

Running a simple local HTTP server

  1. Install Python
  2. Open Command Prompt or PowerShell in the root of the cloned repository
  3. python -m http.server

Stop the server by closing the window or pressing CTRL+C

Testing service workers

Using chrome, you can test the service workers even if it is only on an HTTP website (normally not allowed). Follow these instructions to set it up: https://www.chromium.org/Home/chromium-security/deprecating-powerful-features-on-insecure-origins To view service worker errors, go to chrome://serviceworker-internals/

Clone this wiki locally