Overview
Comment: | [server] change server port in HOMEPAGE |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk | server |
Files: | files | file ages | folders |
SHA3-256: |
25ce36dcf299eb12e7ddea462d5bfb65 |
User & Date: | olr on 2019-02-15 13:46:19 |
Other Links: | manifest | tags |
Context
2019-02-15
| ||
15:21 | [fr] faux positifs avec les parenthèses dans les mots commençant par (re)xxx check-in: 932315d71e user: olr tags: trunk, fr | |
13:46 | [server] change server port in HOMEPAGE check-in: 25ce36dcf2 user: olr tags: trunk, server | |
13:05 | [fr] faux positifs check-in: 90ea671ef3 user: olr tags: trunk, fr | |
Changes
Modified grammalecte-server.py from [71d652b27c] to [4958939df5].
︙ | |||
22 23 24 25 26 27 28 | 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 | - + - + - + - + | <body class="panel"> <h1>Grammalecte · Serveur</h1> <h2>INFORMATIONS</h1> <h3>Analyser du texte</h3> |
︙ | |||
204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 | 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 | + + - | userGenerator = genUserId() def main (sHost="localhost", nPort=8080, dOptions=None, bTestPage=False): # start server global dGCOptions global TESTPAGE global HOMEPAGE if bTestPage: TESTPAGE = True HOMEPAGE = HOMEPAGE.replace("{SERVER_PORT}", str(nPort)) if dOptions: oGrammarChecker.gce.setOptions(dOptions) dGCOptions = gce.getOptions() print("Python: " + sys.version) echo("Grammalecte v{}".format(gce.version)) echo("Grammar options:\n" + " | ".join([ k + ": " + str(v) for k, v in sorted(dGCOptions.items()) ])) run(app, host=sHost, port=nPort) |
︙ |