Re: [mezzanine-users] Re: Tried 3-4 heroku deployment tutorials but stuck on each one.
I sadly couldn't figure it out and asked too many questions which understandably frustrated people. So I switched to Angular and Javascript in general (better suited for my task anyway). I highly recommend reading the docs as much as possible. On Thu, Oct 2, 2014 at 4:47 AM, Guillermo Valle guille...@gmail.com wrote: I am also getting this same error. And Ben's tutorial hasn't solved it for me (I haven't followed it fully because I'm serving statics with Heroku not S3, but have followed everything that I thought would apply). The location of LOCAL and DYNAMIC SETTINGS doesn't seem to fix it for me :( Any other ideas? On Tuesday, March 25, 2014 7:36:26 PM UTC+1, Kyle Pennell wrote: 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 tried Josh'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 a topic in the Google Groups Mezzanine Users group. To unsubscribe from this topic, visit https://groups.google.com/d/topic/mezzanine-users/Xzq2s0JtTW8/unsubscribe. To unsubscribe from this group and all its topics, send an email to mezzanine-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout. -- 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+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: [mezzanine-users] Re: Tried 3-4 heroku deployment tutorials but stuck on each one.
Hey Kyle, I was also struggling getting things going on Digital Ocean earlier in the week. I just wrote up a blog post on deploying to it: http://bitofpixels.com/blog/deploying-mezzanine-to-digital-ocean-using-the-included-fabfile/ Following those steps works for me, hopefully it helps! On Tue, Apr 1, 2014 at 9:39 AM, Kyle Pennell kpenn...@gmail.com wrote: Nice of you to come post here, Ben. Thanks. I've been trying with Digital Ocean now but am stuck in new and different interesting ways. Never thought deploying Mezzanine would take me 25+ hours. This is probably more my fault than the tutorials I've been using. But wow. Ouch. On Sunday, March 30, 2014 1:32:30 PM UTC-6, Ben Havilland wrote: Hi all, I just joined the group. Kyle, it appears you have moved on but if anybody else is needs the current working Mezzanine/Heroku setup I've updated my tutorial and it addresses/fixes KeyError: u'ENGINE' the error you were getting. I just ran through it from scratch with the latest packages with success: http://www.benhavilland.com/blog/deploying-mezzanine-on-heroku/ There was a problem in the settings.py with the placement of the local settings and dynamic settings sections in the tutorial code. Ben On Tuesday, March 25, 2014 11:36:26 AM UTC-7, Kyle Pennell wrote: 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 tutorialhttps://gist.github.com/joshfinnie/4046138, Ben's Tutorialhttp://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 tutorialhttp://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 mezzanine-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout. -- You
[mezzanine-users] Re: Tried 3-4 heroku deployment tutorials but stuck on each one.
Hi all, I just joined the group. Kyle, it appears you have moved on but if anybody else is needs the current working Mezzanine/Heroku setup I've updated my tutorial and it addresses/fixes KeyError: u'ENGINE' the error you were getting. I just ran through it from scratch with the latest packages with success: http://www.benhavilland.com/blog/deploying-mezzanine-on-heroku/ There was a problem in the settings.py with the placement of the local settings and dynamic settings sections in the tutorial code. Ben On Tuesday, March 25, 2014 11:36:26 AM UTC-7, Kyle Pennell wrote: 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 tutorialhttps://gist.github.com/joshfinnie/4046138, Ben's Tutorialhttp://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 mezzanine-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.