update
This commit is contained in:
parent
51663b7583
commit
f8d07d9bdf
@ -6,6 +6,12 @@ Django Backend
|
|||||||
* Start both middleware AND frontend dev server simultaneously
|
* Start both middleware AND frontend dev server simultaneously
|
||||||
* See README of subfolder for further information
|
* See README of subfolder for further information
|
||||||
|
|
||||||
|
## Local testing
|
||||||
|
Add to hostsfile:
|
||||||
|
`127.0.0.1 rdg
|
||||||
|
127.0.0.1 mongodb
|
||||||
|
127.0.0.1 redis`
|
||||||
|
|
||||||
|
|
||||||
## Deploy Kubernetes Admin Dashboard
|
## Deploy Kubernetes Admin Dashboard
|
||||||
|
|
||||||
|
|||||||
@ -10,7 +10,7 @@ from flask_redis import Redis
|
|||||||
# see https://github.com/andymccurdy/redis-py
|
# see https://github.com/andymccurdy/redis-py
|
||||||
|
|
||||||
app = Flask(__name__)
|
app = Flask(__name__)
|
||||||
app.config["REDIS_HOST"] = "localhost"
|
app.config["REDIS_HOST"] = "redis"
|
||||||
app.config["REDIS_PORT"] = 6379
|
app.config["REDIS_PORT"] = 6379
|
||||||
redis = Redis(app)
|
redis = Redis(app)
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user