voltaire / minecraft-site

website stuff for voltaire.sh
mc.voltaire.sh
BSD 3-Clause "New" or "Revised" License
3 stars 0 forks source link

mc.voltaire.sh

Errata:

import os

CSRF_ENABLED = True
SECRET_KEY = 'SEKRIT SEKRIT'

basedir = os.path.abspath(os.path.dirname(__file__))

SQLALCHEMY_DATABASE_URI = 'sqlite:///' + os.path.join(basedir, 'app.db')
SQLALCHEMY_MIGRATE_REPO = os.path.join(basedir, 'db_repository')

MAIL_SERVER='your.mail.server'
MAIL_PORT='mail.port'
MAIL_USE_SSL=True
MAIL_USERNAME='user@mail.server'
MAIL_PASSWORD='mailpassword'

RECAPTCHA_USE_SSL=True
RECAPTCHA_PRIVATE_KEY='privkey here'
RECAPTCHA_PUBLIC_KEY='privkey here'

MCSERVERS = [
        { 'name': 'vanilla',  'hostname': 'ip.addr.here',     'port': '25565' },
        { 'name': 'ftb',      'hostname': 'ip.addr.here',     'port': '25565' },
        { 'name': 'creative', 'hostname': 'ip.addr.here',     'port': '25565' }]

Thanks to: