Installing Django

A. Python
B. PIP
C. Virtual Environment
D. Django
E. Code Editor IDE
F. Putty


1. Install Python 3.3 after you download it from:
https://www.python.org/downloads/

2. Setup Environment
Control Panel > System > Advanced system settings > Advanced > Environment Variables > New…
Variable name: path
Variable value:

[maybe pre-existing values here];C:\Python33;C:\Python33\python.exe;
C:\Python33\Scripts\;C:\Python33\Lib\site-packages\django\bin;

3. Download get-pip.py from:

http://pip.readthedocs.org/en/stable/installing.html

4. Change the program that opens get-pip.py into Python33/python.exe

5. Installing PIP using the command line:

python get-pip.py 

6. Check if anything is installed on PIP:

pip freeze

7. Virtual Environment: I. Joint with Django projects:

a. Install Virtual Environment			pip install virtualenv
b. Create a new virtual environment "venv" on C:	cd C:\
							virtualenv venv
c. Activate the new virtual environment:		cd venv
			Activate it: 			.\Scripts\activate 
			Deactivate it: 			deactivate
d. Install Django into the new virtual environment:	pip install django

II. OR Separated from Django projects:

a. Install Virtual Environment Wrapper		
  pip install virtualenvwrapper-win
b. Setup Environment: 
	Control Panel > System > Advanced system settings > 
	Advanced > Environment Variables > New...
	Variable name: 	workon
	Variable value: 	%USERPROFILE%\Envs
	Create a new virtual environment on C:	mkvirtualenv basharvenv
			Deactivate it:		deactivate
			Activate it: 		workon basharvenv

8. Sublime Text, PyCharm or VS Code

9. Accessing an online server using PuTTY:
Host Name is ghadanfar.com