File tree Expand file tree Collapse file tree 1 file changed +2
-0
lines changed
Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -42,6 +42,7 @@ install: clean-build clean-pyc clean-client ## install the packages for running
4242.PHONY : install-develop
4343install-develop : clean-build clean-pyc clean-client # # install the package in editable mode and dependencies for development
4444 pip install -e .[dev]
45+ $(MAKE ) init-db && $(MAKE ) load-db-mtv
4546 cd client && npm install && npm run build
4647
4748.PHONY : init-db
@@ -56,6 +57,7 @@ load-db-mtv: init-db
5657 rm -f -r db-instance/data/mtv/
5758 curl -o mtv.tar.bz2 " https://d3-ai-mtv.s3.us-east-2.amazonaws.com/mtv.tar.bz2"
5859 tar -xf mtv.tar.bz2 -C ./db-instance/data/ && rm mtv.tar.bz2
60+ mongo mtv --eval " db.dropDatabase()"
5961 mongorestore --db mtv ./db-instance/data/mtv/
6062
6163# ------------------ session: docker installation ------------------- #
You can’t perform that action at this time.
0 commit comments