Added make target to connect to the test cache.
This commit is contained in:
parent
5def458946
commit
27a2389e2c
2 changed files with 11 additions and 5 deletions
7
Makefile
7
Makefile
|
|
@ -8,11 +8,16 @@ db:
|
||||||
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
|
.PHONY: cache
|
||||||
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
|
# Install Ent code-generation module
|
||||||
.PHONY: ent-install
|
.PHONY: ent-install
|
||||||
ent-install:
|
ent-install:
|
||||||
|
|
|
||||||
|
|
@ -172,7 +172,8 @@ The following _make_ commands are available to make it easy to connect to the da
|
||||||
|
|
||||||
- `make db`: Connects to the primary database
|
- `make db`: Connects to the primary database
|
||||||
- `make db-test`: Connects to the test database
|
- `make db-test`: Connects to the test database
|
||||||
- `make cache`: Connects to the cache
|
- `make cache`: Connects to the primary cache
|
||||||
|
- `make cache-test`: Connects to the test cache
|
||||||
|
|
||||||
## Service container
|
## Service container
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue