Installing and configuring virtualenv for django project
Posted In:
Django
.
By CreativeSolutions
1. Install virtualenv by dowloading or using the command 'yum install virtualenv' in terminal
2. Then in the project's folder, run the command
virtualenv [name] ex: venv
with this you can add -no-site-packages or other options
3. Then install django and necessary module in it.
4. from the 'venv' directory created on executing the command 'virtualenv'
run the command 'source bin/activate' in terminal
5. run the command 'deactivate' from terminal to exit
2. Then in the project's folder, run the command
virtualenv [name] ex: venv
with this you can add -no-site-packages or other options
3. Then install django and necessary module in it.
4. from the 'venv' directory created on executing the command 'virtualenv'
run the command 'source bin/activate' in terminal
5. run the command 'deactivate' from terminal to exit