Closed bmschmidt closed 9 years ago
Changing the title: bookworm serve
under the module/argparse architecture would be a clean way to spin up a local webhost in a subdirectory using python CGIHTTPServer.
Probably use either 8004 or 8003 as the port because they look, to me, like the word "book."
Working with a grad student, it seems like maybe the headaches related to Apache installations could be alleviated for first-draft installations by using a python server instead.
I can confirm that in a running bookworm directory, this gist works to fully clone the linechart browser and get it running on OS X 10.9 and Ubuntu 14.04 when other things are installed, without requiring an Apache server.
(running inside a clone of this repository after setting up the database)
Visit
http://localhost:8000
, and click to navigate to whatever the bookworm name is.I don't know what user it's querying the database under--presumably the administrator, though. That means it's