[Flask] Deploying Flask on Debian

Corey Boyle coreybrett at gmail.com
Thu May 5 14:41:33 EDT 2016


That's where you specify the location of your virtualenv.

On Thu, May 5, 2016 at 2:36 PM, Alex Hall <ahall at autodist.com> wrote:
> 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:
>
> venv = /var/www/mysite/.env
>
> 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.
>
> On Thu, May 5, 2016 at 2:24 PM, Edward Wingate <edwingate8 at gmail.com> wrote:
>>
>> > At the risk of going a bit off topic, I made my Nginx and UWSGI
>> > configuration files according to this guide:
>> > http://www.markjberger.com/flask-with-virtualenv-uwsgi-nginx/
>>
>> Here is another guide based on supervisor instead of systemd startup I
>> followed a while back:
>>
>> http://ewong.me/creating-and-deploying-flask-app-using-uwsgi-nginx-virtualenv-and-supervisor/
>>
>> Maybe you can use bits of it to get your setup working.
>
>
>
>
> --
> Alex Hall
> Automatic Distributors, IT department
> ahall at autodist.com
>
> _______________________________________________
> Flask mailing list
> Flask at python.org
> https://mail.python.org/mailman/listinfo/flask
>


More information about the Flask mailing list