Can I just say thank you to Gour for his suggestion of setting up a virtual
machine and then the same linux as on my VPS. This approach had not
occurred to me, but is such a good solution to allowing me to experiment.
Peter
On Thursday, May 17, 2012 12:06:12 AM UTC+1, Lewis wrote:
Guys, I
On Sun, 20 May 2012 05:38:35 -0700 (PDT)
Deidre deidre...@googlemail.com wrote:
Can I just say thank you to Gour for his suggestion of setting up a
virtual machine and then the same linux as on my VPS.
I'm glad it was helpful to you. :-)
This approach had not occurred to me, but is such a
On Fri, 18 May 2012 14:53:40 -0700 (PDT)
Lewis lewis_le...@hotmail.com wrote:
Well, I revised my init.d script to work.
Config files do not work at all in any way, shape or form. Just
broken utterly.
It turns out even loading simple startup variables to the init script
does not work.
Thanks to Bruce Wade who suggested going all command line. In an init file
with an args variable it is no problem to have a very long list of args.
Roberto: I used pip to install v 1.2.3. Would it have included xml
support by default? I had previously downloaded the package for xml but
Ran that command line. Doesn't work.
Instead of command line arg for processes, I put it in xml. does it matter?
On Wednesday, May 16, 2012 4:06:12 PM UTC-7, Lewis wrote:
Guys, I have followed the cookbook, the posts here, and a posting at
stackoverflow.
I am getting error 502 bad
Il giorno 18/mag/2012, alle ore 12:42, Lewis ha scritto:
Ran that command line. Doesn't work.
Instead of command line arg for processes, I put it in xml. does it matter?
You mean running ps aux now shows
/usr/local/bin/uwsgi -x /etc/uwsgi/uwsgi-conf.xml
instead of the (wrong)
Updates:
1) On production I am not using the XML style configuration file as I was
having problems with it. Instead I have set the file /etc/default/uwsgi
inside this file you need two lines (you can also place other
configuration) PYTHONPATH=path_to_web_2_py_project and MODULE=wsgihandler
Bruce: do you only need two lines of uwsgi config? Where do you put the
rest of the directives? command line?
Does anyone know how to have one uwsgi config file load another (as we do
in apache)? I was trying to see an example or find it in uwsgi docs to no
avail.
On Friday, May 18,
Bruce: do you only need two lines of uwsgi config? Where do you put the
rest of the directives? command line?
Does anyone know how to have one uwsgi config file load another (as we do
in apache)? I was trying to see an example or find it in uwsgi docs to no
avail.
That is the only two lines I have nothing set on the command line. uwsgi
should by default look into that directory.
Oh yes there is one other thing you need to change in /etc/init.d/uwsgi (if
you have this) the path to uwsgi is /usr/local/bin/uwsgi
You also set in that file OWNER NAME DESC
Success! --but it's not clear why!?!
I ran uwsgi with the following commmand line (note that I switched to unix
sock in my location directive in nginx to match...):
uwsgi -s /tmp/web2py.sock --module wsgihandler --pythonpath /var/web2py
--daemonize /var/log/uwsgi.log
This means that there
Well, I revised my init.d script to work.
Config files do not work at all in any way, shape or form. Just broken
utterly.
It turns out even loading simple startup variables to the init script does
not work. Period.
It would appear that for some reason the only way uwsgi works is with
Well, I revised my init.d script to work.
Config files do not work at all in any way, shape or form. Just broken
utterly.
It turns out even loading simple startup variables to the init script does
not work. Period.
It would appear that for some reason the only way uwsgi works is with
Is it conceivable that a uwsgi + nginx bundle could be produced making python
deployment super easy?
You mean like a virtual machine? or an installation script?
On Thursday, 17 May 2012 10:34:57 UTC-5, pbreit wrote:
Is it conceivable that a uwsgi + nginx bundle could be produced making
python deployment super easy?
I'd agree that Python deployment remains unnecessarily difficult.
I also agree that just running random scripts isn't the best approach.
However I think it can be very helpful to run the commands manually that
you find in a script. Then you really know what is being performed and can
create
On Thu, 17 May 2012 06:22:20 +0200
Roberto De Ioris robe...@unbit.it wrote:
If you are able to follow it, then adding a webserver should be a
pretty easy task (and yesterday, uWSGI got https support so you do
not even need a full webserver for simple deployments)
What is considered 'simple
On Thu, 17 May 2012 06:22:20 +0200
Roberto De Ioris robe...@unbit.it wrote:
If you are able to follow it, then adding a webserver should be a
pretty easy task (and yesterday, uWSGI got https support so you do
not even need a full webserver for simple deployments)
What is considered
On Thu, 17 May 2012 07:27:53 +0200
Roberto De Ioris robe...@unbit.it wrote:
In my mind, less than 20 concurrent connections :)
Good. I'm in. ;)
For others it is often a matter of money, if i get 10$ for
configuring a webserver would you prefer to setup
19 matches
Mail list logo