Running the Examples LocallyΒΆ

Each release of WYMeditor comes bundled with a set of examples (available online here). To run these locally, they need to be served on a proper web server. If not, WYMeditor might not work properly as most modern browsers block certain JavaScript functionality for local files.

To test WYMeditor without setting up something like Apache, Nginx or uploading the code to a remote server, open your wymeditor directory in a terminal and run:

$ python -m SimpleHTTPServer

Note

On Windows: if the Python executable is not already on your PATH, replace “python” with the absolute path to your python.exe, usually something like “C:Python2Xpython.exe”.

This will start a simple server in your current working directory on port 8000. If you already have something else running on that port, an optional port number can be provided as the last argument.

Now point your browser to http://localhost:8000/ and browse to the examples directory.

Done!

Read the Docs v: v1.0.0b5
Versions
latest
v1.0.0b5
Downloads
On Read the Docs
Project Home
Builds

Free document hosting provided by Read the Docs.