소스 검색

Added README.rst to examples/pythonproject/demoapp

Ask Solem 15 년 전
부모
커밋
72a0778847
1개의 변경된 파일37개의 추가작업 그리고 0개의 파일을 삭제
  1. 37 0
      examples/pythonproject/demoapp/README.rst

+ 37 - 0
examples/pythonproject/demoapp/README.rst

@@ -0,0 +1,37 @@
+======================================
+ Example Python project using Celery
+======================================
+
+
+Modules
+-------
+
+    * celeryconfig.py
+
+        The celery configuration module.
+
+    * tasks.py
+
+        Tasks are defined in this module. This module is automatically
+        imported by the worker because it's listed in
+        celeryconfig's ``CELERY_IMPORTS`` directive.
+
+    * test.py
+
+        Simple test program running tasks.
+
+
+
+Running
+-------
+
+
+Open up two terminals, in the first you run:
+
+    $ celeryd --loglevel=INFO
+
+In the other you run the test program:
+
+    $ python ./test.py
+
+Voila, you've executed some tasks!