Making your local projects more browsable
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
static
templates
.gitignore
LICENSE
Makefile
hosts
ipython-requirements.txt
mime.types
nginx.conf
plist.py
readme.md
requirements.txt

readme.md

Local server redirect

This sets up a series of tasks to run at system startup, as well as an nginx server that can serve things at a given host. Ever get on a plane and then realize you should have made the docs locally? This project does that for you.

What can I do with it?

And more! Add anything you want to private.conf to add this porject.

Screenshots

Behold:

iPython, with a named server!

Godoc, in your browser!

Install

Run the following at the command line:

make install

This will:

  1. Generate usable .plist files for your machine for godoc and ipython

  2. Copy them to LaunchDaemons

  3. Install them with launchctl, so they load when your machine boots.

  4. Start an nginx server that serves those pages at http://ipython and http://godoc

  5. Load that nginx server with launchctl.