Create a virtualenv for your application and install Flask-Diamond.
mkdir my-application cd my-application mkvirtualenv -a . my-application pip install Flask-Diamond
If any of these steps do not work, review the System Requirements and ensure everything is installed.
Enter the virtual environment and scaffold a new Flask-Diamond application. For this Quick Start, just use the default options.
workon my-application flask-diamond scaffold app
Test the installation to ensure everything is installed correctly:
Create the application database:
Start the application server:
You now have a server running at http://127.0.0.1:5000. Depending on your OS, the following command will open your application in a browser.
Login with the following account details:
Now that you have scaffolded your first Flask-Diamond application, you can read about how to Learn Flask-Diamond by using the online documentation and materials. If you prefer to learn by experimenting with a live example, see Planets Tutorial for a hands-on introduction to an working Flask-Diamond application.