File tree Expand file tree Collapse file tree 2 files changed +11
-3
lines changed
docs/docs/deployment/hosting Expand file tree Collapse file tree 2 files changed +11
-3
lines changed Original file line number Diff line number Diff line change @@ -95,9 +95,17 @@ django-collect-static:
9595 poetry run python manage.py collectstatic --noinput
9696
9797.PHONY : serve
98- serve :
98+ serve : docker-up
9999 poetry run flagsmith start --reload api
100-
100+
101+ .PHONY : run-task-processor
102+ run-task-processor : docker-up
103+ poetry run flagsmith start --reload --bind 0.0.0.0:8001 task-processor
104+
105+ .PHONY : serve-with-task-processor
106+ serve-with-task-processor : TASK_RUN_METHOD=TASK_PROCESSOR
107+ serve-with-task-processor :
108+ make -j2 serve run-task-processor
101109
102110.PHONY : generate-ld-client-types
103111generate-ld-client-types :
Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ found in the following section entitled 'Databases'.
1313cd api
1414make install
1515make django-migrate
16- make serve
16+ make serve-with-task-processor # Or `make serve` for API + synchronous tasks (limited functionality)
1717```
1818
1919You can now visit ` http://<your-server-domain:8000>/api/v1/users/config/init/ ` to create an initial Superuser and
You can’t perform that action at this time.
0 commit comments