Skip to content
This repository has been archived by the owner on May 31, 2021. It is now read-only.

Working Offline

swixel edited this page Apr 24, 2019 · 1 revision

Working offline

Editing the site offline requires a web server for the links to resolve. Without it, things like style sheets and JavaScript can (and most likely will) fail. The easiest way to resolve this is to use a local web server. Since many of us are using Python for general tooling anyway, use the integrated modules to serve the site using cmd on Windows, or a terminal on other platforms. (This assumes Python is in your path.)

Python 2

Navigate to the working directory (where the working copy of this repository is), then run:

python -m SimpleHTTPServer 8000

Then navigate to http://localhost:8000

Python 3

Navigate to the working directory (where the working copy of this repository is), then run:

python -m http.server 8000

Then navigate to http://localhost:8000

(This may be python3 if you are on Linux.)

Clone this wiki locally