Hi,

I have just deployed my first Mezzanine project and I agree with what you 
say: the deployment was clearly the most difficult part.
I used fabric too, but it's not very easy but once it works it really saves 
you a lot of time. I have the feeling that when a step goes wrong in fab 
deploy, it begins to do strange things.
So, instead running fab all, I run:
* fab install
* fab create
* fab deploy

When one of these failed, I looked in the fabfile and copy/paste in a 
terminal to see where it failed. Step by step I managed to make it works.

Hope it helps. ++


On Tuesday, February 25, 2014 3:34:00 AM UTC+1, Federico Bruni wrote:
>
> 2014-02-23 20:24 GMT+01:00 Ken Bolton <[email protected] <javascript:>>:
>
>> You might have luck with the Django's dumpdata and loaddata management 
>> commands. Alternatively, django-extensions has a dumpscript command that 
>> may work.
>>
>
> Ok, I've used dumpdata and loaddata to move from sqlite to postgresql.
> Now I'm still trying to make fabric work. I'm not that far away.. Now I 
> have the project folder copied inside the virtualenv, the postgresql 
> database on the server is set.
> I've launched 'fab all', which _should_ have installed all the needed 
> packages. Then I launch 'fab deploy' and I get this error:
>
>  File "<string>", line 1, in <module>
> [xxx.xxx.xxx.xxx] out: ImportError: No module named django.conf
> [xxx.xxx.xxx.xxx] out: 
>
> I see that the virtualenv doesn't have any django package. fab failed? I 
> guess it was supposed to install also the pypi packages according to the 
> requirements file. In my settings.py the path is defined correctly:
> "REQUIREMENTS_PATH": "requirements.txt"
>
> Anyway, I decided to do it manually on the server.
> But I'm still far away from the end and tons of questions on how to make 
> the deploy. Now I have just 4 hours to sleep.
>
> I thought that deploying was the easier part. I was really wrong!
>
>

-- 
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/groups/opt_out.

Reply via email to