Create docker container.
docker run --name some-postgres -e POSTGRES_PASSWORD=mysecretpassword -p 5432:5432 -d postgres
Install postgresql client into mac.
brew install postgresql
distribution = tf.contrib.distribute.MirroredStrategy() | |
config = tf.estimator.RunConfig(train_distribute=distribution) | |
classifier = tf.estimator.Estimator(model_fn=model_fn, config=config) |
pip install pipenv
.brew install postgresql
.Install Heroku CLI from Getting Started on Heroku with Python | Heroku Dev Center.