drime

French rhyme dictionary with web and CLI interface
git clone https://a3nm.net/git/drime/
Log | Files | Refs | README

commit 70bd3c7d31ed663eb0744ef1896e91ae92be9db1
parent 2d1e58f02209a7378e4d08aeeba3789e95f33f4f
Author: Antoine Amarilli <a3nm@a3nm.net>
Date:   Fri, 30 Dec 2011 14:07:33 +0100

continue README

Diffstat:
README | 23++++++++++++++++++++++-
1 file changed, 22 insertions(+), 1 deletion(-)

diff --git a/README b/README @@ -60,4 +60,25 @@ config = { } EOF -== 4.2. +== 4.2. Querying from the web == + +To start the Flask development server, run: + + ./drime.py + +You can also deploy as WSGI with Apache2 using drime.wsgi. Note that you may +need to add something like this to drime.wsgi if its directory is not in the +python include path: + + import sys + sys.path.insert(0, '/path/to/drime/folder') + +== 4.3. Querying from the command line == + +Run: + + ./query.py QUERY [NSYL [GENDER]] + +For documentation, see the web interface. The results are returned as JSON. +(This is a work in progress.) +