https://github.com/dweinstein/minimal-cgi-server-for-cgit
python cgi server just for serving cgit
https://github.com/dweinstein/minimal-cgi-server-for-cgit
Last synced: about 2 months ago
JSON representation
python cgi server just for serving cgit
- Host: GitHub
- URL: https://github.com/dweinstein/minimal-cgi-server-for-cgit
- Owner: dweinstein
- Created: 2013-11-19T17:33:22.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2013-11-20T17:16:14.000Z (over 11 years ago)
- Last Synced: 2025-01-12T03:27:36.441Z (4 months ago)
- Language: Shell
- Size: 1.82 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Minimal CGI Server for cgit
===========================This is a python cgi server just for serving `cgit`.
This is a fork of https://github.com/shyang/minimal-cgi-server-for-cgit to better support Python 2+ and to run on a Linux system- cgit is a web frontend for git repositories (http://hjemli.net/git/cgit/)
* `cgit.cgi.linux_x86-64` is a precompiled Linux (Ubuntu Precise) 64-bit binary. *I used this one*
* `cgit.cgi.darwin_x86-64` is a precompiled Mach-O (Mac os x) 64-bit binary. *I did not test this one*
* Ignore lighttpd.conf, Makefile and cgit.rb (for Homebrew https://github.com/mxcl/homebrew/)
* Before using, the scan-path in `cgitrc` should be changed.Run
===
- `$ ./server.py` for Python 3+
- `$ ./server-py2.py` for Python 2+Open a browser and navigate to http://127.0.0.1:8000/
Notes
=====
- consider using https://gist.github.com/dweinstein/7552562 to setup your git project