equal
deleted
inserted
replaced
|
1 .. _cubicweb-ctl_pyramid: |
|
2 |
|
3 The 'pyramid' command |
|
4 ===================== |
|
5 |
|
6 .. program:: cubicweb-ctl pyramid |
|
7 |
|
8 The 'pyramid' command is a replacement for the 'start' command of :ref:`cubicweb-ctl`. |
|
9 It provides the same options and a few other ones. |
|
10 |
|
11 .. note:: |
|
12 |
|
13 The 'pyramid' command is provided by the ``pyramid`` cube. |
|
14 |
|
15 Options |
|
16 ------- |
|
17 |
|
18 |
|
19 .. option:: --no-daemon |
|
20 |
|
21 Run the server in the foreground. |
|
22 |
|
23 |
|
24 .. option:: --debug-mode |
|
25 |
|
26 Activate the repository debug mode (logs in the console and the debug |
|
27 toolbar). Implies :option:`--no-daemon` |
|
28 |
|
29 .. option:: -D, --debug |
|
30 |
|
31 Equals to :option:`--debug-mode` :option:`--no-daemon` :option:`--reload` |
|
32 |
|
33 .. option:: --reload |
|
34 |
|
35 Restart the server if any source file is changed |
|
36 |
|
37 .. option:: --reload-interval=RELOAD_INTERVAL |
|
38 |
|
39 Interval, in seconds, between file modifications checks [current: 1] |
|
40 |
|
41 .. option:: -l <log level>, --loglevel=<log level> |
|
42 |
|
43 Set the loglevel. debug if -D is set, error otherwise |
|
44 |
|
45 .. option:: -p, --profile |
|
46 |
|
47 Enable profiling. See :ref:`profiling`. |
|
48 |
|
49 .. option:: --profile-output=PROFILE_OUTPUT |
|
50 |
|
51 Profiling output file (default: "program.prof") |
|
52 |
|
53 .. option:: --profile-dump-every=N |
|
54 |
|
55 Dump profile stats to ouput every N requests (default: 100) |