There is frequently a split between the application development environment and the live deployment environment. When the application ends up running on a remote host while you are doing your work on a workstation, it can be helpful to simplify remote system operations. Flask-Diamond uses Fabric to make it pretty easy to invoke system functions from the command line.
To use the Flask-Diamond Fabric functionality, navigate to the root directory of the project and issue the following command:
This will list all of the available commands.
By default, Flask-Diamond provides a fabfile.py with the scaffold with the following functionality:
Because all systems are different, it is not too likely that all of the commands in fabfily.py will work. However, this at least provides a starting point.