Thursday, November 30, 2017

Django Learn Series | Installation

On Ubuntu Machine, use below steps.

  1. sudo -H pip install virtualenv
    • Using pip and installing virtualenv (recommended) instead of global installation
  2. virtualenv -p python djangoTestEnv
    • djangoTestEnv is sample name of virtual environment
  3. source djangoTestEnv/bin/activate
    • Activating djangoTestEnv
  4. pip install django
    • Installing django in djangoTestEnv
  5. pip freeze
    • This is to check installed packages in that  djangoTestEnv
  6. django-admin --version
    • This is to check the version of django installed in djangoTestEnv

If you enjoyed this post, make sure you subscribe to my RSS feed! Comments are encouraged

No comments:
Write comments