- install Docker
Run app in docker:
$ docker-compose up
List docker containers:
$ docker ps
Login in Redis:
docker exec -it ${redis_container_id} redis-cli
Run app in local:
- Change Code:
DB_HOST = 'redis'
to
DB_HOST = 'localhost'
$ docker-compose up redis
$ export FLASK_ENV=development
$ flask run