[pylons-discuss] Re: nginx + gunicorn + pyramid -- .sock no such file or directory

2013-11-02 Thread Mazzaroth M.
I figured it out. For posterity, I needed to use the gunicorn --bind argument. The final line that worked for me: ../bin/gunicorn --paster production.ini --bind unix:app.sock hope this helps someone down the line. On Sat, Nov 2, 2013 at 1:15 AM, Mazzaroth M. taomaili...@gmail.com wrote: I

[pylons-discuss] Re: nginx + gunicorn + pyramid -- .sock no such file or directory

2013-11-02 Thread Mazzaroth M.
I should also mention that simply pointing a web browser at http://localhostserved up the pyramid app. On Sat, Nov 2, 2013 at 2:52 AM, Mazzaroth M. taomaili...@gmail.com wrote: I figured it out. For posterity, I needed to use the gunicorn --bind argument. The final line that worked for me:

[pylons-discuss] Re: nginx + gunicorn + pyramid -- .sock no such file or directory

2013-11-02 Thread Mazzaroth M.
Which begs the question.. how does one set up multiple virtual hosts on a single machine/vm where different domain names forward to different pyramid instances? Michael Hanna On Sat, Nov 2, 2013 at 2:53 AM, Mazzaroth M. taomaili...@gmail.com wrote: I should also mention that simply pointing a

[pylons-discuss] How know if a user is online or not in a application with Pyramid?

2013-11-02 Thread Emilio García-Pumarino Álvarez
Hi!, I am creating a forum, and I want know if a user is online or not (like any forum, for example: phpbb). What technology should be used? (Gevent + gunicorn?) and more important, How should i do this? Thanks, Emlio -- You received this message because you are subscribed to the Google

Re: [pylons-discuss] Re: nginx + gunicorn + pyramid -- .sock no such file or directory

2013-11-02 Thread Laurent DAVERIO
Le 02/11/13 17:33, Mazzaroth M. a écrit : Which begs the question.. how does one set up multiple virtual hosts on a single machine/vm where different domain names forward to different pyramid instances? Each Pyramid instance creates its own app.sock file, so it's just a matter of pointing each

Re: [pylons-discuss] How know if a user is online or not in a application with Pyramid?

2013-11-02 Thread Mariano Mara
On 02/11/13 15:56, Emilio García-Pumarino Álvarez wrote: Hi!, I am creating a forum, and I want know if a user is online or not (like any forum, for example: phpbb). What technology should be used? (Gevent + gunicorn?) and more important, How should i do this? Thanks, Emlio IMHO, you should