Show pageOld revisionsBacklinksBack to top This page is read only. You can view the source, but not change it. Ask your administrator if you think this is wrong. ====== Django Install ====== **General Information** Installing the Django Web Framework and its dependencies. \\ Documentation for the 1.11 LTS Release: https://docs.djangoproject.com/en/1.11/ \\ **Checklist** * CentOS 7 Minimal install ---- ====== OS Packages ====== Install required OS packages. <code bash> yum install wget gcc python-devel </code> ---- ====== Application Dependencies ====== Install Web Server and Database * Install Apache Web Server with mod_wsgi and mod_ssl<code bash>yum install httpd mod_wsgi mod_ssl</code> * Install MariaDB<code bash>yum install mariadb mariadb-server mariadb-devel</code> \\ Install Python Environment * Verify Python 2.7<code bash>python -V</code> * Install pip<code bash>wget https://bootstrap.pypa.io/get-pip.py python get-pip.py</code> * Install Python interface to MySQL<code bash>pip install mysqlclient</code> ---- ====== Application Install ====== Install Django <code bash>pip install Django</code> ---- ====== Next Steps ====== [[python_wiki:django_configuration|Proceed to configuration]]. ---- python_wiki/django_install.txt Last modified: 2019/05/25 23:50(external edit)