# This file is exec'd from settings.py, so it has access to and can
# modify all the variables in settings.py.
DEBUG = False
# Make these unique, and don't share it with anybody.
SECRET_KEY = "12345SecretKeyHidden54321"
NEVERCACHE_KEY = "12345NevercacheKeyHidden54321"
DATABASES = {
"default": {
# Ends with "postgresql_psycopg2", "mysql", "sqlite3" or "oracle".
"ENGINE": "postgresql_psycopg2", #django.db.backends.sqlite3
# DB name or path to database file if using sqlite3.
"NAME": "", #dev.db
# Not used with sqlite3.
"USER": "",
# Not used with sqlite3.
"PASSWORD": "",
# Set to empty string for localhost. Not used with sqlite3.
"HOST": "",
# Set to empty string for default. Not used with sqlite3.
"PORT": "",
}
}
###################
# DEPLOY SETTINGS #
###################
# Domains for public site
ALLOWED_HOSTS = ["myCustomRoute53domain.me"]
# These settings are used by the default fabfile.py provided.
# Check fabfile.py for defaults.
FABRIC = {
"DEPLOY_TOOL": "git", # Deploy with "git", "hg", or "rsync"
"SSH_USER": "ec2-user", # VPS SSH username
"HOSTS": ["54.219.###.###"], # The IP address of your VPS
"DOMAINS": ALLOWED_HOSTS, # Edit domains in ALLOWED_HOSTS
"REQUIREMENTS_PATH": "requirements.txt", # Project's pip requirements
"LOCALE": "en_US.UTF-8", # Should end with ".UTF-8"
"DB_PASS": "default", # Live database password
"ADMIN_PASS": "default", # Live admin user password
"SECRET_KEY": SECRET_KEY,
"NEVERCACHE_KEY": NEVERCACHE_KEY,
}
--
You received this message because you are subscribed to the Google Groups "Mezzanine Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mezzanine-users+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
FABRIC = {
"SSH_USER": "ubuntu", # SSH username"SSH_PASS": "", # SSH password (consider key-based authentication)"SSH_KEY_PATH": "/Users/myaccount/.myaws-keys/my-aws-key-frankfurt-1.pem", # Local path to SSH key file, for key-based auth"HOSTS": ['ec2-xx-xx-xxx.eu-central-1.compute.amazonaws.com',], # List of hosts to deploy to.....}You were perfectly right Christian. I needed the ssh_user:ubuntu and ssh_key_path settings in my fabric local_settings. Also Amazon Linux is RHEL based and uses yum not apt-get.
Those changes allowed me to run fab all.
Hi Wolfgang.
Production and development databases are kept separate, as well
as media uploads. If you'd like to upload your database and media
files from dev to prod you can add custom fabric tasks that do so.
--
You received this message because you are subscribed to the Google Groups "Mezzanine Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mezzanine-use...@googlegroups.com.