2014-02-23 20:24 GMT+01:00 Ken Bolton <[email protected]>:

> 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