Wednesday, November 9, 2005

How To Create A Mantissa Server


So a guy comes up to me and wants to know what the absolute minimum effort to get a Mantissa server running is.



So I tell him:



  1. Install Epsilon, Axiom, and Mantissa (You already have Python 2.5, PySQLite2, and Twisted 8.2 installed, right? This step will become "apt-get install python-mantissa" just as soon as we find a debian guy, promise).



  2. Run axiomatic -d my.axiom mantissa



  3. Run axiomatic -d my.axiom start -n





You now have a Mantissa server up and running. Pretty easy, huh?




Tomorrow: port, SSL, and logfile customization.

8 comments:

  1. Any chance of it becoming "easy_install mantissa" in any near future?

    ReplyDelete
  2. That would be great.

    ReplyDelete
  3. There's a reasonable chance that'll work eventually. I've never looked at easy_install, so I don't know what it would take to make it work. A sure fire way to get it supported is to submit a patch ;) Otherwise, we'll probably tackle it after we have working .debs.

    ReplyDelete
  4. and Vertex and Nevow and PyTZ

    ReplyDelete
  5. Hee Hee! Hooray for softwares.

    For those who are curious, ez_install now works for all these packages. In the process of getting this set up, I noticed that if you install with ez_setup, you are essentially installing any random piece of software that any random denizen on the internet cares to have you install, but I guess that is the goal of ez_setup, so who am I to complain.

    ReplyDelete
  6. beaker% axiomatic -d my.axiom mantissa
    Wrong number of arguments.

    ReplyDelete
  7. I spoke to Anthony out-of-band about this, but in case anyone else is curious, this is caused by using an older version of Twisted than is supported. Strictly speaking, Axiom (and the rest of Divmod's projects at this point) depends on Twisted trunk@HEAD. You can get away with using Twisted 2.1, though, for everything except "axiomatic -d my.axiom start" (note that if you pass -n, it will work with 2.1: trunk@HEAD is only required if you want to pass no arguments).

    ReplyDelete
  8. PLEASE TAKE THIS PAGE DOWN WITH LINKS TO OLD VERSIONS OF SW!

    ReplyDelete