DJango – Installation and create a simple Django project

Assume you have Python 2.7.8 and virtualenv installed on an Ubuntu. Refer to the following references if they are not yet ready.


1. Create a new virtualenv.

pyenv virtualenv 2.7.8 django-poc


2. Switch to that newly created virtualenv.

pyenv activate django-poc


3. Install the Django.

pip install django


4. Verify the installation.

python -c "import django; print(django.get_version())"


5. Scaffold a new project called django_poc. startproject django_poc


6. cd to django_poc and start the Django app at port 8000 by:

python runserver


7. Welcome to Django!

Done =)

Reference: Writing your first Django app, part 1


One thought on “DJango – Installation and create a simple Django project”

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.