How to allocate a Python (Django) project to a ready and configured server? (Apache, Mysql, Python, Django OK)

Asked

Viewed 228 times

2

I have a server ready and fully configured. Python, Django, Apache, Mysql, all OK.

I’d like to replicate an existing project on this server for testing. The files and database are already replicated, however, when accessing the project folder via browser it brings the directories without interpreting the codes in Python, as below:

cgi-bin/
robots.txt
wsgi.py
Apache/2.2.29 (Unix) mod_ssl/2.2.29 OpenSSL/1.0.1e-fips mod_wsgi/3.5 Python/2.7.9 mod_bwlimited/1.4 Server at test.xxxxxx.com.br Port 80

1 answer

1


Many things depend on where you will deploy the project.

If the settings are these they are ai "Apache/2.2.29 (Unix) mod_ssl/2.2.29 Openssl/1.0.1e-Fips mod_wsgi/3.5 Python/2.7.9 mod_bwlimited/1.4 Server at test.xxxxxx.com.br Port 80"

Try this tutorial here:

https://gist.github.com/douglasmiranda/1232693

Browser other questions tagged

You are not signed in. Login or sign up in order to post.