The first thing we have to do is, as usual, set up our development environment and the first step is to create a virtual environment for our application. Our application will be called twittervotes, so let's go ahead and create a virtual environment called twittervotes:
![](https://static.packt-cdn.com/products/9781786468161/graphics/assets/9cf0dbeb-8a22-4726-930f-c0869b9b0dbf.png)
When the virtualenv environment has been created, you can activate it with the following command:
. twittervotes/bin/activate
Great! Now let's set up the project's directory structure. It should look like the following:
twittervotes
├── core
│ ├── models
└── templates
Let's dive into the structure a bit:
twittervotes | The application's root directory. Here, we will create the application's entry point as well as a small helper... |