Skip to content

universe-white-chief/pycon-tweets-backend

Repository files navigation

Pre-requires

  1. install Docker

Develop

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:

  1. Change Code:
DB_HOST = 'redis'

to

DB_HOST = 'localhost'
$ docker-compose up redis
$ export FLASK_ENV=development
$ flask run

Releases

No releases published

Packages

No packages published