Rename the on-line translator to avoid conflicts with the doc
* wrap/python/ajax/css/ltl2tgba.css, wrap/python/ajax/spot.in, wrap/python/ajax/ltl2tgba.html: Rename ... * wrap/python/ajax/css/trans.css, wrap/python/ajax/spotcgi.in, wrap/python/ajax/trans.html: ... as these. * wrap/python/ajax/Makefile.am, wrap/python/ajax/README: Adjust.
This commit is contained in:
parent
b7fbf72461
commit
7cc9980062
5 changed files with 28 additions and 29 deletions
|
|
@ -1,6 +1,6 @@
|
|||
ltl2tgba.html is a dynamic web page that translates user-supplied LTL
|
||||
formulae to Transition-based Generalized Büchi Automata. The actual
|
||||
translation work is performed by a CGI script in Python: spot.py.
|
||||
translation work is performed by a CGI script in Python: spotcgi.py.
|
||||
|
||||
There are two ways to use the script: using a web server such as
|
||||
Apache, or standalone.
|
||||
|
|
@ -16,10 +16,10 @@ CGI script). These option were introduced into ltl3ba version 1.1.0.
|
|||
Standalone usage
|
||||
================
|
||||
|
||||
Simply run spot.py from this directory. This will create a directory
|
||||
Simply run spotcgi.py from this directory. This will create a directory
|
||||
called spotimg/ in the current directory (this will hold the generated
|
||||
pictures) and start an HTTP server on port 8000. Point your browser
|
||||
to http://localhost:8000/ltl2tgba.html and you should be OK.
|
||||
to http://localhost:8000/trans.html and you should be OK.
|
||||
|
||||
After you have killed the server process (e.g. with Control-C),
|
||||
you may want to erase the spotimg/ directory.
|
||||
|
|
@ -37,9 +37,9 @@ Installing on a real web server
|
|||
configured from ./configure's arguments and you should not
|
||||
have to fiddle with it. I'm mentionning it just in case.
|
||||
|
||||
2) Copy spot.py to some place were CGI execution is allowed.
|
||||
2) Copy spotcgi.py to some place were CGI execution is allowed.
|
||||
Depending on your HTTP server's configuration, you may have
|
||||
to rename the script as spot.cgi or something else, so
|
||||
to rename the script as spotcgi.cgi or something else, so
|
||||
that the server accepts to run it.
|
||||
|
||||
Apache users in trouble should look at the following options
|
||||
|
|
@ -52,7 +52,7 @@ Installing on a real web server
|
|||
# Allow CGI execution in some directory.
|
||||
Options +ExecCGI
|
||||
|
||||
3) In the directory where you have installed spot.py,
|
||||
3) In the directory where you have installed spotcgi.py,
|
||||
create a subdirectory called spotimg/. This is where
|
||||
the script will cache its images and other temporary
|
||||
files. (If you want to change this name, see the imgdir
|
||||
|
|
@ -62,10 +62,10 @@ Installing on a real web server
|
|||
will run the script when the HTTP server processes the
|
||||
request.
|
||||
|
||||
spot.py purges old files at most once every hour.
|
||||
spotcgi.py purges old files at most once every hour.
|
||||
|
||||
4) Copy the directories css/, js/, and logos/ along with ltl2tgba.html
|
||||
to there destination. You may have to adjust a few paths at the
|
||||
4) Copy the directories css/, js/, and logos/ along with trans.html
|
||||
to their destination. You may have to adjust a few paths at the
|
||||
top of the html page.
|
||||
|
||||
|
||||
|
|
@ -85,6 +85,6 @@ to the CGI script, so you can simulate the call from the command line
|
|||
with a command like this:
|
||||
|
||||
% export QUERY_STRING="f=a+U+b&r=br&r=lf&r=si&r=eu&o=a&ff=o&mf=d&af=t&ra=t&rf=p&t=fm&fm=od&fm=sm&la=sp&ta=lc&as=ps&ec=Cou99&eo="
|
||||
% export SCRIPT_NAME=spot.py
|
||||
% export SCRIPT_NAME=spotcgi.py
|
||||
% export SERVER_SOFTWARE=SimpleHTTP
|
||||
% ./spot.py
|
||||
% ./spotcgi.py
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue