"""
Configuration of 'memos' Flask app. 
Edit to fit development or deployment environment.

"""
import random

# localhost
# PORT = 5000
# DEBUG = True
# MONGO_URL = "mongodb://memos_user:peach-cobbler@localhost:27017/memos"

# ix.cs.uoregon.edu
PORT = random.randint(5000, 8000)
DEBUG = False  # Because it's unsafe to run outside localhost
MONGO_URL = "mongodb://memos_user:peach-cobbler@localhost:4152/memos"  # on ix

"""
Configuration of 'memos' Flask app. 
Edit to fit development or deployment environment.

"""
import random

# localhost
# PORT = 5000
# DEBUG = True
# MONGO_PORT = 

# ix.cs.uoregon.edu
PORT = random.randint(5000, 8000)
DEBUG = False  # Because it's unsafe to run outside localhost

# both
MONGO_PW = ''
MONGO_USER = ''
MONGO_PORT = 
MONGO_DB = ''
MONGO_URL = 'mongodb://{$MONGO_USER}:{$MONGO_PW}@localhost:{$MONGO_PORT}/{MONGO_DB}'

remove credentials from config.py