File tree 1 file changed +4
-2
lines changed
1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -46,19 +46,21 @@ docker-compose.yml:
46
46
run-devel : .env docker-compose.yml down # # runs app on host with pg fixture for development [for development]
47
47
# Starting db (under $<)
48
48
docker-compose up --detach
49
+ # Creating db-tables: user=key, password=secret
50
+ @$(MAKE ) db-tables
49
51
# start app (under $<)
50
52
uvicorn simcore_service_api_server.__main__:the_app \
51
53
--reload --reload-dir $(SRC_DIR ) \
52
54
--port=8000 --host=0.0.0.0
53
55
54
56
.PHONY : db-tables
55
- db-tables : .env-devel # # upgrades and create tables [for development]
57
+ db-tables : .env # # upgrades and create tables [for development]
56
58
# Upgrading and creating tables
57
59
export $(shell grep -v '^#' $< | xargs -d '\n') ; \
58
60
python3 tests/utils/init-pg.py
59
61
60
62
.PHONY : db-migration
61
- db-migration : .env-devel # # runs discover and upgrade on running pg-db [for development]
63
+ db-migration : .env # # runs discover and upgrade on running pg-db [for development]
62
64
# Creating tables
63
65
export $(shell grep -v '^#' $< | xargs -d '\n') ; \
64
66
sc-pg discover && sc-pg upgrade
You can’t perform that action at this time.
0 commit comments