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

1

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

I would 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
    
asked by anonymous 24.08.2016 / 15:33

1 answer

1

Many things depend on where you are going to deploy the project.

If the settings are these they are there "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:

link

    
26.08.2016 / 17:48