<div dir="ltr"><div><div>Sorry for all the messages, but one more thing about UWSGI. There's one item in the configuration file sample I found that I don't understand:<br><br></div>venv = /var/www/mysite/.env<br><br></div>I can't find this venv item anywhere so far, and the author of the post where I found it never explained what it was for. Does it point to a special folder used during runtime? Does that folder have to exist first? Does this point to my app's folder, like chdir does? I don't have a .env folder, and I'm wondering if that's my problem. I don't want to make one, though, until I better understand what this venv item is actually trying to do.<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, May 5, 2016 at 2:24 PM, Edward Wingate <span dir="ltr"><<a href="mailto:edwingate8@gmail.com" target="_blank">edwingate8@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">> At the risk of going a bit off topic, I made my Nginx and UWSGI<br>
> configuration files according to this guide:<br>
> <a href="http://www.markjberger.com/flask-with-virtualenv-uwsgi-nginx/" rel="noreferrer" target="_blank">http://www.markjberger.com/flask-with-virtualenv-uwsgi-nginx/</a><br>
<br>
</span>Here is another guide based on supervisor instead of systemd startup I<br>
followed a while back:<br>
<a href="http://ewong.me/creating-and-deploying-flask-app-using-uwsgi-nginx-virtualenv-and-supervisor/" rel="noreferrer" target="_blank">http://ewong.me/creating-and-deploying-flask-app-using-uwsgi-nginx-virtualenv-and-supervisor/</a><br>
<br>
Maybe you can use bits of it to get your setup working.<br>
</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>