+ 1

Python apache interaction

how can I make my app visible outside my pycharm (localhost) environment using an apache2 server and a Flask, of course. thanks for the answer, it would be really useful. By the way I'm not gonna use django. The connection with a SQL or nosql server should be the same

28th Jan 2017, 10:01 AM
Mira Mirabeau Mirabel
Mira Mirabeau Mirabel - avatar
2 Réponses
+ 1
Hello, Mira. I tried flask and had some problems with it. I recommend you to use mod_wsgi. it's easy to configure and works good. I'm have some sites on my server, they are works on nginx + uwsgi.
9th Feb 2017, 10:21 AM
Alexander Bystrov
Alexander Bystrov - avatar
0
You also can use django own server to publish you site. the command is: "python manage.py runserver 0.0.0.0:8000" (or another free port). But on production you have to use apache or nginx.
9th Feb 2017, 10:30 AM
Alexander Bystrov
Alexander Bystrov - avatar