Starting off
As we did in the previous chapter, let's create a completely new directory for this application, in addition to creating a virtual environment and installing a few basic packages that we will be using:
$ mkdir -p ~/src/socializer && cd ~/src/socializer $ mkvirtualenv socializer $ pip install flask flask-sqlalchemy flask-bcrypt flask-login flask-wtf blinker pytest-flask
Our application layout will, for the moment, be very similar to the one that we used in the previous chapter:
├── application │ ├── __init__.py │ └── users │ ├── __init__.py │ ├── models.py │ └── views.py └── run.py └── database.py