> On 1 Mar 2016, at 2:32 PM, Jaqen Nki <[email protected]> wrote:
> 
> Ok, so I tried the express method - Deleted the flaskapp.wsgi, and 
> FlaskApp.conf (vhost) files from the digitalocean guide (which worked for 
> serving my init.py).  
> 
> Created a   venv   at   /var/www/site1/FlaskApp/FlaskApp    activated it,  
> then I pip3 install flask, mod_wsgi (4.4.22).
> 
> All seems well then I run 
> 
> mod_wsgi-express start-server           :
> 
> Server URL         : http://localhost:8000/
> Server Root        : /tmp/mod_wsgi-localhost:8000:1000
> Server Conf        : /tmp/mod_wsgi-localhost:8000:1000/httpd.conf
> Error Log File     : /tmp/mod_wsgi-localhost:8000:1000/error_log (warn)
> Request Capacity   : 5 (1 process * 5 threads)
> Request Timeout    : 60 (seconds)
> Queue Backlog      : 100 (connections)
> Queue Timeout      : 45 (seconds)
> Server Capacity    : 20 (event/worker), 20 (prefork)
> Server Backlog     : 500 (connections)
> Locale Setting     : en_US.UTF-8
> 
> I go to    http://localhost:8000/   but nothing is there.   
> 
> I was hoping this would be as easy as the copy paste method from the guide.  
> My vm is ubuntu 14 with just    apt-get install apache2    and    apt get 
> install apache2-dev run.
> Maybe Ill just stay with the ubuntu vps method but install the latest mod 
> wsgi from source.  What would you do?  

Where are you running this.

In the first instance you want to be doing this on your local machine to verify 
you understand how it works.

If you then want to deploy to a VM on DigitalOcean a bit more work is involved.

You would have to be able to understand how to configure Linux to add new 
services yourself. Knowing that you can follow guidelines in section 'Running 
mod_wsgi express as root’ to generate a fixed configuration which is then 
invoked from the Linux startup scripts.

I would suggest just work on your local machine first to get it going for 
development.

Graham

-- 
You received this message because you are subscribed to the Google Groups 
"modwsgi" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/modwsgi.
For more options, visit https://groups.google.com/d/optout.

Reply via email to