Differences between revisions 2 and 3
Revision 2 as of 2008-07-05 15:53:11
Size: 1170
Editor: mk2s@digitalcommute
Comment:
Revision 3 as of 2008-07-06 00:54:45
Size: 1537
Editor: mk2s@digitalcommute
Comment:
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
#pragma page-filename DEV/versions/4816962 #pragma page-filename DEV/versions/4816963
Line 4: Line 4:
The code is at https://code.launchpad.net/~mk2s/mailman/restserver The code is at [[https://code.launchpad.net/~mk2s/mailman/restserver]]
Line 9: Line 9:
as root installed as root I installed
Line 12: Line 12:
\# checkout source

[[../mk2s@fc9 ~|mk2s@fc9 ~]]<<Verbatim(])>>$ bzr checkout [[https://code.launchpad.net/~mk2s/mailman/restserver]]
[[../mk2s@fc9 ~|mk2s@fc9 ~]]$ cd restserver
<<BR>>
Then as myself(mk2s) I ran configure and make

<<Verbatim([)>>mk2s@fc9 ~/restserver<<Verbatim(])>>$ ./configure \--(-with-username=$USER \)----(with-groupname=$USER&nbsp; \)----(prefix=$HOME/mailman-runtime \)---without-permcheck

<<Verbatim([)>>mk2s@fc9 ~/restserver<<Verbatim(])>>$ make install
Line 14: Line 25:
[[../mk2s@fc9 ~|mk2s@fc9 ~]]$ bzr checkout https://code.launchpad.net/~mk2s/mailman/restserver
[[../mk2s@fc9 ~|mk2s@fc9 ~]]$ cd restserver
Line 17: Line 26:
[[../mk2s@fc9 ~/restserver|mk2s@fc9 ~/restserver]]$ ./configure --(-with-username=mk2s )----(with-groupname=mk2s )----(prefix=$HOME/mailman-runtime )---without-permcheck [[../mk2s@fc9 ~/restserver|mk2s@fc9 ~/restserver]]$ ./configure \--(-with-username=mk2s \)----(with-groupname=mk2s \)----(prefix=$HOME/mailman-runtime \)---without-permcheck
Line 24: Line 33:
<<Verbatim([)>>mailman22runtime<<Verbatim(])>>$ PYTHONPATH=. python Mailman/rest/server.py<<BR>> <<Verbatim([)>>mailman22runtime<<Verbatim(])>>$ PYTHONPATH=. python Mailman/rest/server.py
<<BR>>
Line 27: Line 37:
need list of dependencies and how to install those\\ need list of dependencies and how to install those
\\

This page describes how to get started trying the RESTful webservice server for mailman.

The code is at https://code.launchpad.net/~mk2s/mailman/restserver

the following is on a clean install of FC9

Python 2.5.1 and Postfix already installed as root I installed

  • bzr (not bazaar)

\# checkout source

mk2s@fc9 ~]$ bzr checkout https://code.launchpad.net/~mk2s/mailman/restserver mk2s@fc9 ~$ cd restserver
Then as myself(mk2s) I ran configure and make

[mk2s@fc9 ~/restserver]$ ./configure \-with-username=$USER \with-groupname=$USER  \prefix=$HOME/mailman-runtime \-without-permcheck

[mk2s@fc9 ~/restserver]$ make install

* scratch notes below

mk2s@fc9 ~/restserver$ mkdir ~/mailman-runtime mk2s@fc9 ~/restserver$ ./configure \-with-username=mk2s \with-groupname=mk2s \prefix=$HOME/mailman-runtime \-without-permcheck mk2s@fc9 ~/restserver$ make install

[x]$ cd /home/mk2s/mailman/mailman22-restserver/Mailman/rest

[rest]$ make install

[mailman22runtime]$ PYTHONPATH=. python Mailman/rest/server.py
need to figure out what to do about the runtime dir

need list of dependencies and how to install those \\

MailmanWiki: DEV/restserver-branch (last edited 2008-07-06 21:33:40 by mk2s@digitalcommute)