You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
mdennebaum edited this page Oct 18, 2012
·
4 revisions
When you install whirlwind the setup process also installs a script names whirlwind-admin.py that provides some helpful command line functionality. The setup script will do its best to put the script somewhere in your path (on linux normally /usr/local/bin) and will chmod it to be executable.
usage: %prog [options [args]]
flags:
--version: Print the version info for this release of WhirlWind
example:
whirlwind-admin.py --version
>>> 2012-10-18 12:27:07,841 INFO 0.7 Beta
--create-application: Creates a new application layout with default files
example:
whirlwind-admin.py --create-application app_name
>>> 2012-10-18 12:30:18,457 INFO Created True
--generate-cookie-secret: Generate a cookie secret hash
--generate-model-indexes: Generate mongo indexes for your models
example:
whirlwind-admin.py --generate-model-indexes
>>> attempting to create index for Model1
>>> attempting to create index for Model2
>>> attempting to create index for Model3