Re: [mezzanine-users] first steps with fabric deployment

2014-03-03 Thread Federico Bruni
no error found 2014-03-03 13:22 GMT+01:00 : > Did you try to run "python manage.py runserver" directly in your virtual > env directory? And is there an error? I the port is in use you can try to > stop the server by running supervisorctl stop all. > > ++ > > On Friday, February 28, 2014 1:08:44

Re: [mezzanine-users] first steps with fabric deployment

2014-03-03 Thread ourycl
Did you try to run "python manage.py runserver" directly in your virtual env directory? And is there an error? I the port is in use you can try to stop the server by running supervisorctl stop all. ++ On Friday, February 28, 2014 1:08:44 AM UTC+1, Federico Bruni wrote: > > 2014-02-26 13:18 GMT

Re: [mezzanine-users] first steps with fabric deployment

2014-02-27 Thread Federico Bruni
2014-02-26 13:18 GMT+01:00 : > Yes, I think fab create has to restart from the beginning. One more > advice, be sure that all Fabric settings in settings.py are completed (or > as much as you can). I tried to leave the field REPO_URL empty and fab > deploy didn't work until I set a real git reposi

Re: [mezzanine-users] first steps with fabric deployment

2014-02-26 Thread ourycl
Yes, I think fab create has to restart from the beginning. One more advice, be sure that all Fabric settings in settings.py are completed (or as much as you can). I tried to leave the field REPO_URL empty and fab deploy didn't work until I set a real git repository. ++ On Wednesday, February

Re: [mezzanine-users] first steps with fabric deployment

2014-02-25 Thread Federico Bruni
2014-02-25 11:47 GMT+01:00 : > 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

Re: [mezzanine-users] first steps with fabric deployment

2014-02-25 Thread ourycl
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,

Re: [mezzanine-users] first steps with fabric deployment

2014-02-24 Thread Federico Bruni
2014-02-23 20:24 GMT+01:00 Ken Bolton : > 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

Re: [mezzanine-users] first steps with fabric deployment

2014-02-24 Thread Ken Bolton
Hi Federico, You can get away with sqlite in production for a very small site, but it is generally not recommended. The value for your "ENGINE" key is missing the path to the module. I think it should read: "ENGINE": "django.db.backends.sqlite3", hth, ken On Sun, Feb 23, 2014 at 5:36

Re: [mezzanine-users] first steps with fabric deployment

2014-02-23 Thread Federico Bruni
2014-02-23 18:45 GMT+01:00 Federico Bruni : > 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? > I've tried starting with sqlit

Re: [mezzanine-users] first steps with fabric deployment

2014-02-23 Thread Ken Bolton
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 wrote: > Il giorno domenica 23 febbraio 2014 18:37:14 UTC+1, Federico Bruni ha > scritt

Re: [mezzanine-users] first steps with fabric deployment

2014-02-23 Thread Federico Bruni
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 directo

Re: [mezzanine-users] first steps with fabric deployment

2014-02-23 Thread Federico Bruni
Il giorno domenica 23 febbraio 2014 18:01:23 UTC+1, Kenneth Bolton ha scritto: > Federico, > > Have you reviewed the tutorial at > http://bscientific.org/blog/mezzanine-fabric-git-vagrant-joy/? It may be > a bit dated, but should work. > > Hi Ken yes, I did before asking here. Unfortunately it

Re: [mezzanine-users] first steps with fabric deployment

2014-02-23 Thread Ken Bolton
Federico, Have you reviewed the tutorial at http://bscientific.org/blog/mezzanine-fabric-git-vagrant-joy/? It may be a bit dated, but should work. best, ken On Sun, Feb 23, 2014 at 11:46 AM, Federico Bruni wrote: > Hi > > I'm trying Fabric for the first time and after several tries I have to

[mezzanine-users] first steps with fabric deployment

2014-02-23 Thread Federico Bruni
Hi I'm trying Fabric for the first time and after several tries I have to ask for help. Do you know a simple step by step tutorial? There are many detailed tutorials but I need the big picture. IIUC, 'fab all' should care for everything needed, if I set up correctly the variables in settings.p