close
Warning:
Can't synchronize with repository "(default)" (Unsupported version control system "svn": No module named svn). Look in the Trac log for more information.
- Timestamp:
-
Jul 15, 2008, 5:21:32 PM (16 years ago)
- Author:
-
cmlenz
- Comment:
-
--
Legend:
- Unmodified
- Added
- Removed
- Modified
-
v4
|
v5
|
|
47 | 47 | Options: |
48 | 48 | -h, --help show this help message and exit |
| 49 | -O name=value set a configuration option |
49 | 50 | -b HOST, --host=HOST hostname or IP address to bind to (default 127.0.0.1) |
50 | 51 | -p PORT, --port=PORT port number to listen to (default 8080) |
51 | | -r, --auto-reload automatically restart after code changes (default |
52 | | True) |
| 52 | -r, --auto-reload automatically restart after code changes (default off) |
53 | 53 | -v, --verbose print as much as possible |
54 | 54 | -q, --quiet print as little as possible |
55 | 55 | |
56 | 56 | }}} |
| 57 | |
| 58 | You can use the `-O` option to set one or more configuration options, overriding any defaults set by the application. For example: |
| 59 | |
| 60 | {{{ |
| 61 | $ python myapp.py -Odebug=false -Ocsrf_protection=false |
| 62 | }}} |
| 63 | |
| 64 | See ConfigOptions for a list of options made available by the framework, in addition to any custom options your application may support. |
57 | 65 | |
58 | 66 | == Automatic Reloading == |