mirror of
https://github.com/veops/cmdb.git
synced 2025-08-07 11:28:06 +08:00
update makefile
This commit is contained in:
8
Makefile
8
Makefile
@@ -19,16 +19,16 @@ deps:
|
|||||||
pipenv install --dev && \
|
pipenv install --dev && \
|
||||||
pipenv run flask db-setup && \
|
pipenv run flask db-setup && \
|
||||||
pipenv run flask init-cache && \
|
pipenv run flask init-cache && \
|
||||||
cd ui && yarn install && cd ..
|
cd cmdb-ui && yarn install && cd ..
|
||||||
|
|
||||||
api:
|
api:
|
||||||
pipenv run flask run -h 0.0.0.0
|
cd cmdb-api && pipenv run flask run -h 0.0.0.0
|
||||||
|
|
||||||
worker:
|
worker:
|
||||||
pipenv run celery worker -A celery_worker.celery -E -Q cmdb_async --concurrency=1
|
cd cmdb-api && pipenv run celery worker -A celery_worker.celery -E -Q cmdb_async --concurrency=1
|
||||||
|
|
||||||
ui:
|
ui:
|
||||||
cd ui && yarn run serve
|
cd cmdb-ui && yarn run serve
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
pipenv run flask clean
|
pipenv run flask clean
|
||||||
|
Reference in New Issue
Block a user