Creating a social website project
We will create a social application that will allow users to share images they find on the internet. We will need to build the following elements for this project:
- An authentication system for users to register, log in, edit their profile, and change or reset their password
- A followers' system to allow users to follow each other
- A functionality to display shared images and implement a bookmarklet for users to share images from any website
- An activity stream for each user that allows users to see the content uploaded by the people they follow
This chapter addresses the first point mentioned in the preceding list.
Starting your social website project
Open the terminal, and use the following commands to create a virtual environment for your project and activate it:
mkdir env virtualenv env/bookmarks source env/bookmarks/bin/activate
The shell prompt will display your active virtual environment, as follows:
(bookmarks)laptop:~ zenx$
Install Django in your virtual environment...