Running Trac on PythonAnywhere

As part of the ongoing dogfooding campaign, we just migrated our issue tracker from an internal server to PythonAnywhere. Am happy to say it runs faster!

We use Trac, a python-based PM tool. Here's a brief outline, in case anyone else wants to host a trac site using PythonAnywhere.

  • pip install --user trac (we'll get trac in the batteries included asap!)
  • use trac-admin to create a new trac project
  • configure your wsgi.py file as per the instructions here
  • Install the AccountManager plugin - I chose htdigest auth, other options are available.
  • enable registration to let any users sign in - you can disable it later

And, optionally, use MySql as your database, although it's not recommended!

Need more info? Did you try it yourself? Got any thoughts on htdigest vs other types of auth? Leave a comment!

blog comments powered by Disqus

PythonAnywhere is a Python development and hosting environment that displays in your web browser and runs on our servers. They're already set up with everything you need. It's easy to use, fast, and powerful. There's even a useful free plan.

You can sign up here.