<div dir="ltr">Thanks guys. I'm intrigued by Nginx, after reading more about it. The problem is that apt-get install nginx keeps failing, with some kind of dependency problem, sudo or no sudo. I've stopped Apache, but still get the error. Thus, I'd like to stick to Apache if I could, simply because it's already installed and (to my knowledge) working. This is a small, internal site that doesn't need the efficiency of Nginx to run, and I'm having enough problems with getting Flask to work that messing with installing a stubborn Nginx doesn't seem the best way to stay sane. :) I'd love to play with Nginx, as it seems easier to configure than Apache, but unless I can get it to install cleanly that's not really an option.<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, May 3, 2016 at 4:19 PM, Anthony Ford <span dir="ltr"><<a href="mailto:ford.anthonyj@gmail.com" target="_blank">ford.anthonyj@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Personally, I really like the Digital Ocean guides.<div><br></div><div>You can check out the Ubuntu guide, as it shouldn't be all that different from Debian (I used it as a template for internal deploy docs I wrote at my last position).</div><div><br></div><div><a href="https://www.digitalocean.com/community/tutorials/how-to-serve-flask-applications-with-uwsgi-and-nginx-on-ubuntu-14-04" target="_blank">https://www.digitalocean.com/community/tutorials/how-to-serve-flask-applications-with-uwsgi-and-nginx-on-ubuntu-14-04</a><br></div><div><br></div><div>I personally prefer uwsgi behind Nginx</div><div><br></div></div><div class="gmail_extra"><br clear="all"><div><div><div dir="ltr">Anthony Ford,<br>KF5IBN,<div><a href="mailto:ford.anthonyj@gmail.com" target="_blank">ford.anthonyj@gmail.com</a></div></div></div></div>
<br><div class="gmail_quote"><div><div class="h5">On Tue, May 3, 2016 at 3:05 PM, Alex Hall <span dir="ltr"><<a href="mailto:ahall@autodist.com" target="_blank">ahall@autodist.com</a>></span> wrote:<br></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5"><div dir="ltr"><div><div>Hello list,<br></div>My work has a Google Cloud account, so my boss just made me a Debian server. Being virtual, I can't physically access it, but I've got SSH and SCP, so  same thing. No remote GUI, though, just command line.<br><br></div>I've been looking up how to deploy Flask on Linux, Debian specifically, for a couple hours. I'm getting a *lot* of hits, but nothing that seems to be in line with anything else. Some tell me to use WSGI (which I expected), but others say mod_wsgi, and others UWSGI. Mod_wsgi might mean, some say, compiling it for Python3, but I'm on Python 2.7.9? Most assume I'm using a virtual environment, which I'm not, because Python and other web projects are the only things on this server. The Flask docs talk about UWSGI, then something called MGinx? I'm using Apache2, again on Debian 8.<br><br>Is there a single tutorial or article that most people recommend? I'm not very experienced with Debian, but I'm fine with a command line interface in general. I've got Flask, Flask-WTF, and the pyodbc module I'll need, and now just want to get Flask running with Apache2 so Apache can serve my Flask app. Thanks.<span><font color="#888888"><br clear="all"><div><div><div><div><br>-- <br><div><div dir="ltr"><div><div>Alex Hall<br></div>Automatic Distributors, IT department<br></div><a href="mailto:ahall@autodist.com" target="_blank">ahall@autodist.com</a><br></div></div>
</div></div></div></div></font></span></div>
<br></div></div>_______________________________________________<br>
Flask mailing list<br>
<a href="mailto:Flask@python.org" target="_blank">Flask@python.org</a><br>
<a href="https://mail.python.org/mailman/listinfo/flask" rel="noreferrer" target="_blank">https://mail.python.org/mailman/listinfo/flask</a><br>
<br></blockquote></div><br></div>
</blockquote></div><br><br clear="all"><br>-- <br><div class="gmail_signature"><div dir="ltr"><div><div>Alex Hall<br></div>Automatic Distributors, IT department<br></div><a href="mailto:ahall@autodist.com" target="_blank">ahall@autodist.com</a><br></div></div>
</div>