Skip to content

Commit c30a184

Browse files
update readme
1 parent 6b24bb4 commit c30a184

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@ env=[pro|test] python3 manager.py runserver 0.0.0.0:80
1717
pipenv shell
1818
cd task_service
1919
python3 start_task.py [pro|test] [restart|new]
20+
or
21+
python3 start_task.py
2022
```
2123
*例: python3 start_task.py test restart*
2224

@@ -35,6 +37,9 @@ python3 start_task.py [pro|test] [restart|new]
3537
pipenv shell
3638
cd task_service
3739
celery -A start_worker -Q *queuenames worker -l info -c 4 -Ofair -f *log_path -env [pro|test]
40+
or
41+
cd task_service
42+
python3 start_worker.py
3843
```
3944
*例:celery -A start_worker -Q default,China,American,Japan worker -l info -c 4 -Ofair -f logs/celery.log -env test*
4045

0 commit comments

Comments
 (0)