Added make target to connect to the test cache.
This commit is contained in:
parent
156e578dd0
commit
726556e973
2 changed files with 11 additions and 5 deletions
13
Makefile
13
Makefile
|
|
@ -1,17 +1,22 @@
|
|||
# Connect to the primary database
|
||||
.PHONY: db
|
||||
db:
|
||||
psql postgresql://admin:admin@localhost:5432/app
|
||||
psql postgresql://admin:admin@localhost:5432/app
|
||||
|
||||
# Connect to the test database
|
||||
.PHONY: db-test
|
||||
db-test:
|
||||
psql postgresql://admin:admin@localhost:5432/app_test
|
||||
psql postgresql://admin:admin@localhost:5432/app_test
|
||||
|
||||
# Connect to the cache
|
||||
# Connect to the primary cache
|
||||
.PHONY: cache
|
||||
cache:
|
||||
redis-cli
|
||||
redis-cli
|
||||
|
||||
# Connect to the test cache
|
||||
.PHONY: cache-test
|
||||
cache-test:
|
||||
redis-cli -n 1
|
||||
|
||||
# Install Ent code-generation module
|
||||
.PHONY: ent-install
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue