| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Name | Name | Last commit date | ||
|---|---|---|---|---|
FirePython is a sexy Python logger console integrated into Firebug.
Originally, I have created it to light up my lonely nights I was spending with Google App Engine.
You definitely need Firebug 1.2 or higher. You also have to install Firefox Addon which is called FireLogger.
Preferred way is to install this firefox extension via addons.mozilla.com.
sudo easy_install firepython
If you want to install latest addon from sources, you need to build it. It should be simple, but make sure you have these tools on your paths:
Build steps:
git clone git://github.com/darwin/firelogger.git cd firelogger rake
After that your XPI should be available in build/firelogger-X.Y.xpi.
You should be able to install XPI file into Firefox: File -> Open File ... and browse for firelogger-X.Y.xpi.
Remember, that you should be also using latest FirePython library on server-side (see next section).
Just note, that it depends on simplejson (or some other json parsing library needed by jsonpickle).
Clone project from github in your project directory.
Or if your web project uses git for versioning, you may want to be cool and use firepython as a submodule of your git repository.
git submodule add git://github.com/darwin/firepython.git relative/path/to/firepython
Note: replace last parameter with relative path in your repo.
In case firepython directory is not on your import paths, you need to add relative/path/to folder into your sys.path.
After installation, enable middleware by adding its path in MIDDLEWARE_CLASSES: firepython.middleware.FirePythonDjango.
After installation, enable middleware firepython.middleware.FirePythonWSGI.
Look for inspiration in middleware.py
Go to Firebug Menu -> Open With Editor -> Configure editors ... like this:
Some people reported this problem too. You may try workaround.
IRC channel #firelogger at freenode
v0.4 (to be released)
v0.3 (16.03.2009)
v0.2 (24.11.2008)
v0.1 (15.11.2008)
| Back | FazBrowse Home | New Git URL |