My FABRIC dict.
FABRIC = {
"DEPLOY_TOOL": "git", # Deploy with "git", "hg", or "rsync"
"SSH_USER": "", # Wefaction username
# "SSH_PASS": "", # SSH and Webfaction account password
# "SSH_KEY_PATH": "", # Local path to SSH key file, for key-based auth
"HOSTS": [""], # The IP address of your Webfaction server
"DOMAINS": ALLOWED_HOSTS, # Edit domains in ALLOWED_HOSTS
"LIVE_DOMAIN": "akia.co.ke", # Domain to associate the app with
"LIVE_SUBDOMAIN": "www", # Subdomain to associate the app with
(optional)
"REQUIREMENTS_PATH": "requirements.txt", # Project's pip requirements
"LOCALE": "en_US.UTF-8", # Should end with ".UTF-8"
"NUM_WORKERS": 2, # Limit the amount of workers for gunicorn
"DB_PASS": "", # Live database password
"ADMIN_PASS": "", # Live admin user password
# "TWITTER_PERIOD": None, # Minutes
"SECRET_KEY": SECRET_KEY,
"NEVERCACHE_KEY": NEVERCACHE_KEY,
# Email settings
# "EMAIL_USER": "", # Webfaction mailbox username
# "EMAIL_PASS": "", # Webfaction mailbox password
# "DEFAULT_EMAIL": "", # Webfacion email address
}
It seems there are no commits yet on my server as the folder 'akia' does
not exist under ~/webapps/git_app/repos/
On Wednesday, May 25, 2016 at 5:21:48 PM UTC+3, George M wrote:
>
> I get the following error after running fab deploy.
>
> [] out: Traceback (most recent call last):
> [] out: File "<string>", line 1, in <module>
> [] out: File
> "/home/wazoadili/.virtualenvs/akia/lib/python2.7/site-packages/django/__init__.py",
>
> line 17, in setup
> [] out: configure_logging(settings.LOGGING_CONFIG, settings.LOGGING)
> [] out: File
> "/home/wazoadili/.virtualenvs/akia/lib/python2.7/site-packages/django/conf/__init__.py",
>
> line 48, in __getattr__
> [] out: self._setup(name)
> [] out: File
> "/home/wazoadili/.virtualenvs/akia/lib/python2.7/site-packages/django/conf/__init__.py",
>
> line 44, in _setup
> [] out: self._wrapped = Settings(settings_module)
> [] out: File
> "/home/wazoadili/.virtualenvs/akia/lib/python2.7/site-packages/django/conf/__init__.py",
>
> line 92, in __init__
> [] out: mod = importlib.import_module(self.SETTINGS_MODULE)
> [] out: File "/usr/lib64/python2.7/importlib/__init__.py", line 37, in
> import_module
> [] out: __import__(name)
> [] out: ImportError: No module named akia.settings
>
> Fatal error: run() encountered an error (return code 1) while executing
> 'python -c "import
> os;os.environ['DJANGO_SETTINGS_MODULE']='akia.settings';import
> django;django.setup();from django.conf import
> settings;print(settings.STATIC_ROOT)"'
>
> Aborting.
>
> Someone kindly assist...
>
--
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 [email protected].
For more options, visit https://groups.google.com/d/optout.