# Bind to PORT if defined, otherwise default to 5000.
update_db()
port=int(os.environ.get('PORT',5000))
app.run(host='0.0.0.0',port=port)
update_db()
# Connect to memcache with config from environment variables.
Reference in New Issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.