Skip to content

Instantly share code, notes, and snippets.

@eduan
Last active August 29, 2015 14:22
Show Gist options
  • Save eduan/bde28b986a4a8f50cd34 to your computer and use it in GitHub Desktop.
Save eduan/bde28b986a4a8f50cd34 to your computer and use it in GitHub Desktop.
install django
#Necessário ter python, apache e banco instalados
#Depois é preciso baixar pip
#Instalar o pip
wget https://bootstrap.pypa.io/get-pip.py
pyhton get-pip.py
sudo pip install Django
sudo pip install MySQL-python
sudo pip install django-input-mask
sudo aptitude install libapache2-mod-wsgi python-dev libmysqlclient-dev apache2 apache2.2-common apache2-mpm-prefork apache2-utils libexpat1 ssl-cert
sudo dpkg --install http://mirror.yandex.ru/mirrors/ftp.mysql.com/Downloads/Connector-Python/mysql-connector-python_2.0.4-1debian7.6_all.deb
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment