Biggest problem I had with Heroku is that it doesn't have any permanent storage - each time you redeploy, you're creating your project/app/static from scratch. It doesn't work so well with Mezzanine's ability to upload media files. There is a way of hooking things in with Amazon S3 but I never managed to get it to work with any Django project, so I ended up giving up on Heroku.
(Also the, SSL add-on pack is quite expensive!) On 26 March 2014 09:34, Kyle Pennell <[email protected]> wrote: > Hey Josh, > Was hoping to stick to Heroku because it's free and I didn't want to scatter > my apps around too much. But I'm open to other ideas. > > > On Tuesday, March 25, 2014 4:35:56 PM UTC-6, Josh Cartmell wrote: >> >> Hey Kyle, I've never used Heroku, are you set on using it? >> >> The fabfile that comes bundled with Mezzanine will deploy to a vanilla >> ubuntu VPS and is basically completely automated. >> >> I also have had good success hosting Mezzanine on Webfaction and can >> deploy there fairly easily. >> >> >> On Tue, Mar 25, 2014 at 11:36 AM, Kyle Pennell <[email protected]> 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, Ben's Tutorial, 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. 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. >> >> > -- > 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. -- [email protected] -- 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.
