Re: [help] Server Config: django + uwsgi + nginx

2012-05-03 Thread easypie
yes. i believe it's 'ln -s /etc/nginx/sites-available/mysite.com /etc/nginx/sites-enabled/mysite.com' On Thursday, May 3, 2012 2:40:35 PM UTC-7, Karl Sutt wrote: > > Have you symlinked /etc/nginx/sites-available/mysite.comto > /etc/nginx/sites-enabled/ > mysite.com ? > > Karl Sutt > > > On Thu,

Re: [help] Server Config: django + uwsgi + nginx

2012-05-03 Thread Karl Sutt
Have you symlinked /etc/nginx/sites-available/mysite.comto /etc/nginx/sites-enabled/ mysite.com ? Karl Sutt On Thu, May 3, 2012 at 10:23 PM, easypie wrote: > I'm not sure if I should post this in this thread of mine or start new > one. But it's still about the config files. > > After getting u

Re: [help] Server Config: django + uwsgi + nginx

2012-05-03 Thread easypie
I'm not sure if I should post this in this thread of mine or start new one. But it's still about the config files. After getting uwsgi to work. I tried to link nginx w/ it but that didn't work. I go to localhost:80 and that takes me to the welcome page: "Welcome to Nginx!". When I go to localho

Re: [help] Server Config: django + uwsgi + nginx

2012-05-03 Thread Kurtis Mullins
Hey, I'm glad to hear you got it working! If you run into any more problems, don't hesitate to ask. On Wed, May 2, 2012 at 1:31 AM, easypie wrote: > Thanks. I was missing the virtualenv= mentions earlier. I'm glad I > know this those settings are meant for development only. I was a little > conf

Re: [help] Server Config: django + uwsgi + nginx

2012-05-01 Thread easypie
Thanks. I was missing the virtualenv= mentions earlier. I'm glad I know this those settings are meant for development only. I was a little confused thinking that was ready for deployment. I'm new to all this and get confuse sometimes. On Tuesday, May 1, 2012 8:04:00 AM UTC-7, Kurtis wrote: > >

Re: [help] Server Config: django + uwsgi + nginx

2012-05-01 Thread easypie
how would i start that? sudo uwsgi start sudo service nginx start? On Sunday, April 29, 2012 12:01:27 PM UTC-7, Karl Sutt wrote: > > Here is my uWSGI command and nginx.conf contents: > > uwsgi -- http://www.dpaste.org/aiJuq/ > nginx -- http://www.dpaste.org/bAG0o/ > > I've used it for a Flask appl

Re: [help] Server Config: django + uwsgi + nginx

2012-05-01 Thread Kurtis Mullins
Judging from your Import Error -- I think you're having a problem with Django not being on the Python path. In my uwsgi configuration file (I used .xml), it looks like this: DJANGO_SETTINGS_MODULE=fireflie.settings 4 0.0.0.0:7999 /home/fireflie/staging/fireflie/ django.co

Re: [help] Server Config: django + uwsgi + nginx

2012-04-30 Thread Karl Sutt
I am not entirely sure what you mean by that. If you mean the nginx equivalent of Apache VirtualHosts then the nginx wiki explains it quite nicely http://wiki.nginx.org/ServerBlockExample. Is that what you meant? Karl Sutt On Mon, Apr 30, 2012 at 7:04 PM, easypie wrote: > does your configurati

Re: [help] Server Config: django + uwsgi + nginx

2012-04-30 Thread easypie
does your configuration allow for running multiple sites? On Sunday, April 29, 2012 12:01:27 PM UTC-7, Karl Sutt wrote: > > Here is my uWSGI command and nginx.conf contents: > > uwsgi -- http://www.dpaste.org/aiJuq/ > nginx -- http://www.dpaste.org/bAG0o/ > > I've used it for a Flask application,

Re: [help] Server Config: django + uwsgi + nginx

2012-04-29 Thread Roberto De Ioris
> i followed the django-http+uwsgi quick start and ended up with an error. > ImportError: no module named django.core.handlers.wsgi \n unable to load > app ... > here's the error log: dpaste.org/BM5BW Are you sure you are not using a >=1.4 django version or a virtualenv ? If you are uging a virt

Re: [help] Server Config: django + uwsgi + nginx

2012-04-29 Thread easypie
i followed the django-http+uwsgi quick start and ended up with an error. ImportError: no module named django.core.handlers.wsgi \n unable to load app ... here's the error log: dpaste.org/BM5BW On Sunday, April 29, 2012 11:31:43 AM UTC-7, Roberto De Ioris wrote: > > > > I have this file that was

Re: [help] Server Config: django + uwsgi + nginx

2012-04-29 Thread Karl Sutt
Here is my uWSGI command and nginx.conf contents: uwsgi -- http://www.dpaste.org/aiJuq/ nginx -- http://www.dpaste.org/bAG0o/ I've used it for a Flask application, but I've just tested it and it works for a Django project as well. Note that wsgi.py file in the uwsgi command is the Python file tha

Re: [help] Server Config: django + uwsgi + nginx

2012-04-29 Thread Roberto De Ioris
> I have this file that was created for me by one of the users in django's > irc channel. I edited to have the right information inserted but I"m not > sure what I'm doing wrong to not make it work. I've spent some time trying > to understand each line by searching the web. There's still a thing o

[help] Server Config: django + uwsgi + nginx

2012-04-29 Thread easypie
I have this file that was created for me by one of the users in django's irc channel. I edited to have the right information inserted but I"m not sure what I'm doing wrong to not make it work. I've spent some time trying to understand each line by searching the web. There's still a thing or two