-- Leo's gemini proxy
-- Connecting to republic.circumlunar.space:1965...
-- Connected
-- Sending request
-- Meta line: 20 text/gemini
Dojo's DOH requires a web server to run tests in a browser. But never fear:
$ cd ~/code/dojo $ ls docs dojo util $ python -m SimpleHTTPServer & $ xdg-open http://localhost:8000/util/doh/runner.html
Note that you will see some test failures, because the python web server doesn't do PHP.
When finished:
$ kill %1
to stop your web server.
On Python 3, use this instead of the SimpleHTTPServer line:
python3 -m http.server &
Yes, Python includes a little web server that serves files in your current directory. Batteries included. Thanks to Lyle Backenroth and commandlinefu for making me aware of this.
Originally posted at 2012-10-30 10:46:09+00:00. Automatically generated from the original post : apologies for the errors introduced.
-- Response ended
-- Page fetched on Sun May 19 03:47:46 2024