[PYTHON] shimehari on heroku

Turn to gunicorn

main.py


#!/usr/bin/env python
# -*- coding: utf-8 -*-
import os
from shimehari import Shimehari

app = Shimehari(__name__)

if __name__ == '__main__':
    port = int(os.environ.get("PORT", 5959))
    app.drink(host="0.0.0.0", port=port)

Recommended Posts

shimehari on heroku
Redis on Heroku
Deploy masonite app on Heroku 2020
Use Numpy, Scipy, scikit-learn on Heroku
Deploy your Django application on Heroku
python + django + scikit-learn + mecab (1) on heroku
How to run matplotlib on heroku
python + django + scikit-learn + mecab (2) on heroku
Publish DJango page on heroku: Practice
Deploy Flask app on heroku (bitterly)
Python json.loads () returns str on Heroku
Deploy the Flask app on Heroku
Deploy the Flask app on heroku
Django blog on heroku: login implementation
Periodically run Python on Heroku Scheduler
Deploy Django api on heroku (personal note)
Deploy the Django app on Heroku [Part 2]
Deploy the Django app on Heroku [Part 1]
Write SVG graphs with matplotlib on heroku
Change the order of PostgreSQL on Heroku
Launch Flask application with Docker on Heroku
gae shimehari
A story about a 503 error on Heroku open
A memo of a tutorial on running python on heroku
Publish django project developed in Cloud9 on heroku
I tried launching jupyter nteract on heroku server
A story about running Python on PHP on Heroku
A memorandum for touching python Flask on heroku
Until you use PhantomJS with Python on Heroku