I second Josh with regard to reading the fabfile now and then. When someone
has a problem deploying, I walk through their process and compare it to the
fabfile.

>From the Zen of Python:
There should be one – and preferably only one – obvious way to do it.

On Mon, Dec 22, 2014 at 1:49 PM, Josh Cartmell <[email protected]> wrote:

> Hey James, everything Ken says is correct, Fabric and his other
> suggestions will make your life much easier.
>
> As far as Digital Ocean goes, I wrote a tutorial about deploying Mezzanine
> to Digital Ocean using Fabric, you can view it at
> http://bitofpixels.com/blog/deploying-mezzanine-to-digital-ocean-using-the-included-fabfile/
> If you know a bit about server admin and have Fabric figured out there is
> nothing in there that is mind blowing or particularly difficult to figure
> out, but I look back at it occasionally to refresh myself.
>
> On Mon, Dec 22, 2014 at 12:58 PM, Ken Bolton <[email protected]> wrote:
>
>> You are in good company here among the automating Lazy. Let us know how
>> it goes, and suggestions for improvements are welcome, as are pull requests.
>>
>> On Mon, Dec 22, 2014 at 12:27 PM, J. Paskaruk <[email protected]>
>> wrote:
>>
>>> I'm definitely having connectivity problems here in Winnipeg. I wonder
>>> if it's fallout from the DDOS nuking that Anonymous is currently delivering
>>> to North Korea? I seem to have no problems reaching Google (which, as an
>>> Free Software ideologue who considers Stallman a personal hero, makes me
>>> uneasy in and of itself), though, so I can get at the cached versions of
>>> everything so far.
>>>
>>> Anyways, I didn't know about Fabric until just this second. I'll go read
>>> up on it. My usual method with this stuff is to bully my way through a
>>> tutorial and learn by osmosis. However, I'm not at all afraid of reading a
>>> friendly manual, and that's my usual approach when I hit a wall, to just
>>> find a manual or video or tutorial that is in some way related and just
>>> learn everything I can about that other thing, and generally when I come
>>> back, as long as I exercise patience, I find my way. Lazy, Hermann
>>> Hesse-type Buddhism helps a fair bit. :>
>>>
>>> Anyways, as I said, I shall investigate this thing you call Fabric, and
>>> report back. I also just read about your deployed virtual server approach
>>> the other day, and I intend to adopt that... now. Thanks for the response,
>>> I feel less alone at least.
>>>
>>> On Monday, December 22, 2014 10:12:17 AM UTC-6, Kenneth Bolton wrote:
>>>>
>>>> Docs are working for me from here in downstate New York (not to be
>>>> confused with New York City or its environs).
>>>>
>>>> Have you tried the Fabric script that ships with Mezzanine? That is the
>>>> canonical way to deploy, as described in the documentation at
>>>> http://mezzanine.jupo.org/docs/deployment.html (assuming connectivity
>>>> comes back for you.)
>>>>
>>>> I practice a strict deploy-first methodology by deploying to a virtual
>>>> machine before any other development happens. That means I have my
>>>> deployment sorted and no longer occupying mindshare. Back when I first
>>>> played with Python web frameworks (anybody remember ZopeCMF?) deploying was
>>>> so brutally painful that projects could progress with velocity, then die on
>>>> the vine for lack of deployment process.
>>>>
>>>> You can try my now-long-in-the-tooth description of how I deal with
>>>> this problem. It is specific to Ubuntu 12.04 and Mezzanine, but I have done
>>>> the same with vanilla Django projects. http://bscientific.
>>>> org/blog/mezzanine-fabric-git-vagrant-joy/.
>>>>
>>>> Let us know how it goes.
>>>>
>>>> best,
>>>> ken
>>>>
>>>> On Mon, Dec 22, 2014 at 10:53 AM, James Michael Yeo Paskaruk <
>>>> [email protected]> wrote:
>>>>
>>>>> I have a site put together on the dev server, I'm happy with it as a
>>>>> preliminary design/skeleton.
>>>>>
>>>>> I'm attempting to deploy the page on digitalocean.com.
>>>>>
>>>>> They have a one-click Django server, but I do not know how to take
>>>>> that and transplant Mezzanine into it. Is there a step-by-step set of
>>>>> instructions to do this?
>>>>>
>>>>> In the absence of that, I've been attempting to just setup an Ubuntu
>>>>> droplet. I've gotten as far as being able to run gunicorn_django -b
>>>>> 0.0.0.0:8000, and it serves pages at that address, but there's a big
>>>>> warning that the command is deprecated, and there's still the matter of
>>>>> nginx and the static files.
>>>>>
>>>>> I've read everything that comes up in google searches for stuff like
>>>>> "deploy a mezzanine site on ubuntu" and "deploy mezzanine on one-click
>>>>> django server" and a million other permutations, and I get the same two or
>>>>> three DO links that do not contain a complete set of instructions.
>>>>>
>>>>> To compound this, I'm not sure if this is true for everyone else, but
>>>>> the docs for Django and Mezzanine appear to be offline as I type this. the
>>>>> cached google version is still there, of course, but it means searching 
>>>>> for
>>>>> each page, rather than clicking on links. Makes the process the opposite 
>>>>> of
>>>>> pleasurable.
>>>>>
>>>>> The most frustrating aspect, of course, is that this is something
>>>>> really simple I'm trying to do.
>>>>>
>>>>> --
>>>>> 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.
>>>
>>
>>  --
>> 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.
>

-- 
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.

Reply via email to