You might have luck with the Django's dumpdata and loaddata management commands. Alternatively, django-extensions has a dumpscript command that may work.
ken On Sun, Feb 23, 2014 at 12:45 PM, Federico Bruni <[email protected]> wrote: > Il giorno domenica 23 febbraio 2014 18:37:14 UTC+1, Federico Bruni ha > scritto: > >> >> Let's start with the nginx error: >> >> Starting nginx: nginx: [emerg] SSL_CTX_use_certificate_chain_ >> file("/etc/nginx/conf/project.crt") failed (SSL: error:02001002:system >> library:fopen:No such file or directory error:20074002:BIO >> routines:FILE_CTRL:system lib error:140DC002:SSL >> routines:SSL_CTX_use_certificate_chain_file:system >> lib) >> nginx: configuration file /etc/nginx/nginx.conf test failed >> >> This is because /etc/nginx/sites-enabled/project.conf contains these two >> lines: >> >> ssl_certificate conf/project.crt; >> ssl_certificate_key conf/project.key; >> >> This time I've deleted (instead of commenting) these lines, restarted >> nginx and everything seems Ok. >> But I'd like to fix it, because if I have to re-run 'fab all' the nginx >> conf file will probably be overwritten. >> >> > Ok, I should have looked up deploy/nginx.conf and deploy/live_settings.py > in my project. > How can I transfer the sqlite database of development to postgresql in > production? Do you know a specific tutorial on this? > > -- > 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. > -- 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.
