Skip to content

Commit

Permalink
chore: make doc of serve command more concise
Browse files Browse the repository at this point in the history
  • Loading branch information
tschale committed Apr 25, 2022
2 parents b5f9254 + 698770e commit 9486d6e
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions hurricane/management/commands/serve.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,12 +25,12 @@
class Command(BaseCommand):

"""
Start a Tornado-powered Django web server.
Implements serve command as a management command for django application.
The new command can be called using ``python manage.py server <arguments>``.
It also can take command arguments, which are python django management commands and will be executed asynchronously.
Upon successful execution of management commands, application server will be started. During execution of management
commands probe server can be polled, in particular startup probe, which will respond with a status 400.
Start a Tornado-powered Django web server by using ``python manage.py serve <arguments>``.
It can run Django management commands with the ``--command`` flag, that will be executed asynchronously.
The application server will only be started upon successful execution of management commands. During execution
of management commands the startup probe responds with a status 400.
Arguments:
- ``--static`` - serve collected static files
- ``--media`` - serve media files
Expand Down

0 comments on commit 9486d6e

Please sign in to comment.