Python Django for Web Development
Install on Ubuntu
sudo apt-get install python-django
//sudo apt-get install libmysqlclient-dev
sudo apt-get install python-mysqldb
//sudo apt-get install python-mysql.connector
Install the latest Django on Ubuntu
sudo apt-get install python-pip
sudo pip install -U pip
sudo pip install Django (or sudo pip install Django --upgrade )
./manage.py runserver 0.0.0.0:8000
sudo apt-get install python-dev
sudo pip install Pillow // for handling modelsImageField (django 1.8)
chgrp -R www-data ./media
Install PyDev on Eclipse
WSGI
sudo apt-get install libapache2-mod-wsgi
Examples
No comments:
Post a Comment