Hey all, Would love to get some help here if you could. Hit the wall on what I can do/try.
I'm just trying to deploy a basic mezzanine setup on Heroku. I've triedJosh's tutorial<https://gist.github.com/joshfinnie/4046138>, Ben's Tutorial<http://www.benhavilland.com/blog/deploying-mezzanine-on-heroku/>, searched Stackoverflow, here, etc. Going on 10 hours trying. Hit unique and interesting bugs on each one. So I'm trying Steven Elliot's tutorial <http://stevenelliottjr.github.io/>. I reasoned that it was the newest (15 days ago) and might work better. He's been extremely helpful on Twitter. Hit this roadblock here: (mezzenv)kpennell@vm-0:~/mezz-site$ python manage.py collectstatic >> >> /home/kpennell/mezz-site/mezzenv/local/lib/python2.7/site-packages/mezzanine/utils/conf.py:51: >> UserWarning: You haven't defined the ALLOWED_HOSTS settings, which Django >> 1.5 requires >> . Will fall back to the domains configured as sites. >> warn("You haven't defined the ALLOWED_HOSTS settings, which " >> >> /home/kpennell/mezz-site/mezzenv/local/lib/python2.7/site-packages/mezzanine/utils/conf.py:59: >> UserWarning: TIME_ZONE setting is not set, using closest match: Etc/UTC >> warn("TIME_ZONE setting is not set, using closest match: %s" % tz) >> Traceback (most recent call last): >> File "manage.py", line 29, in <module> >> execute_from_command_line(sys.argv) >> >> File >> "/home/kpennell/mezz-site/mezzenv/local/lib/python2.7/site-packages/django/core/management/__init__.py", >> line 399, in execute_from_command_line >> utility.execute() >> >> File >> "/home/kpennell/mezz-site/mezzenv/local/lib/python2.7/site-packages/django/core/management/__init__.py", >> line 392, in execute >> self.fetch_command(subcommand).run_from_argv(self.argv) >> >> File >> "/home/kpennell/mezz-site/mezzenv/local/lib/python2.7/site-packages/django/core/management/__init__.py", >> line 261, in fetch_command >> commands = get_commands() >> >> File >> "/home/kpennell/mezz-site/mezzenv/local/lib/python2.7/site-packages/django/core/management/__init__.py", >> line 107, in get_commands >> apps = settings.INSTALLED_APPS >> >> File >> "/home/kpennell/mezz-site/mezzenv/local/lib/python2.7/site-packages/django/conf/__init__.py", >> line 54, in __getattr__ >> self._setup(name) >> >> File >> "/home/kpennell/mezz-site/mezzenv/local/lib/python2.7/site-packages/django/conf/__init__.py", >> line 49, in _setup >> self._wrapped = Settings(settings_module) >> >> File >> "/home/kpennell/mezz-site/mezzenv/local/lib/python2.7/site-packages/django/conf/__init__.py", >> line 128, in __init__ >> mod = importlib.import_module(self.SETTINGS_MODULE) >> >> File >> "/home/kpennell/mezz-site/mezzenv/local/lib/python2.7/site-packages/django/utils/importlib.py", >> line 40, in import_module >> __import__(name) >> File "/home/kpennell/mezz-site/settings.py", line 442, in <module> >> set_dynamic_settings(globals()) >> >> File >> "/home/kpennell/mezz-site/mezzenv/local/lib/python2.7/site-packages/mezzanine/utils/conf.py", >> line 184, in set_dynamic_settings >> shortname = db["ENGINE"].split(".")[-1] >> KeyError: u'ENGINE' >> > So something with collect static doesn't work. Something to do with set_dynamic_settings. I copied his tut verbatim and cloned the project he gave me and both hit the snag there. I can post the code here if you want but thought pushing to github would be easier: https://github.com/kpennell/mezz-try Any ideas? -- 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.
