mirror of https://github.com/veops/cmdb.git
update makefile
This commit is contained in:
parent
92183423df
commit
6801058a3f
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
|
||||||
|
|
Loading…
Reference in New Issue