Flask-Diamond installs in a Python environment with virtualenv. Please see the System Requirements for information about installation pre-requisites.
Create a virtualenv for your new Flask-Diamond application, and then install Flask-Diamond with pip.
mkvirtualenv Flask-Diamond
pip install Flask-Diamond
Create a directory to hold your application, and then scaffold a new Flask-Diamond application inside that directory. For this Quick Start, just use the default options.
workon Flask-Diamond
diamond-scaffold.sh ~/Documents/new-project
cd ~/Documents/new-project
mkvirtualenv -a . new-project
Create the database:
make db
Start the server:
make server
You now have a server running at http://127.0.0.1:5000/admin. Visit your new application in a web browser and login with the following account details:
It’s easy to scaffold a Flask-Diamond application. Now you can Learn Flask-Diamond by reading the online materials.