You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/appdev.rst
+2-6Lines changed: 2 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -366,16 +366,12 @@ Some IDEs like PyCharm can also debug remote processes. This could be useful to
366
366
Bootstrap Webware from Command line
367
367
-----------------------------------
368
368
369
-
You may be in a situation where you want to execute some part of your Webware app from the command line, for example to implement a cron job or
370
-
maintenance script. In these situations you probably don't want to instantiate a full-fledged `Application` -- some of the downsides are that doing so
371
-
would cause standard output and standard error to be redirected to the log file, and that it sets up the session sweeper, task manager, etc.
372
-
But you may still need access to plugins such as MiscUtils, MiddleKit, which you may not be able to import directly.
369
+
You may be in a situation where you want to execute some part of your Webware applicaton from the command line, for example to implement a cron job or maintenance script. In these situations you probably don't want to instantiate a full-fledged `Application` -- some of the downsides are that doing so would cause standard output and standard error to be redirected to the log file, and that it sets up the session sweeper, task manager, etc. But you may still need access to plugins such as MiscUtils, MiddleKit, which you may not be able to import directly.
373
370
374
371
Here is a lightweight approach which allows you to bootstrap Webware and plugins::
0 commit comments