#!/usr/bin/env python
# -*- coding: utf-8 -*-
#
# Flask application default config:
# http://flask.pocoo.org/docs/config/#configuring-from-files
# https://github.com/mbr/flask-appconfig

DEBUG = True
TESTING = False
JS_LOG_LEVEL = 3  # log (1) < debug (2) < info (3) < warn (4) < error (5)

APP_NAME = 'Skeleton'

# Servers and URLs
SERVER_NAME = 'skeleton.dev'

# Authentication etc
SECRET_KEY = 'some-secret-key'

# API
API_SERVER = 'skeleton.dev'
API_TOKEN = 'some-api-token'

#!/usr/bin/env python
# -*- coding: utf-8 -*-
#
# Flask application default config:
# http://flask.pocoo.org/docs/config/#configuring-from-files
# https://github.com/mbr/flask-appconfig

DEBUG = True
TESTING = False
JS_LOG_LEVEL = 3  # log (1) < debug (2) < info (3) < warn (4) < error (5)

APP_NAME = 'Skeleton'

# Servers and URLs
SERVER_NAME = 'localhost:5000'

# Authentication etc
SECRET_KEY = 'some-secret-key'

# API
API_SERVER = 'localhost:5000'
API_TOKEN = 'some-api-token'

Change default SERVER_NAME to localhost:5000
Change default SERVER_NAME to localhost:5000

This is to make it work more out of the box, without the need to edit /etc/hosts