Skip to content
salva16 edited this page Jan 29, 2013 · 11 revisions

This page contains a list of available commands in META-SHARE application.

The following commands are available by invoking the directly:
for example:
python import_xml.py [options]

  • export_xml.py
  • import_fixtures.py
  • import_xml.py
  • restore.py
  • storage_admin.py
    • purge
      Removes outdated and invalid objects/folders from the storage base.
      Empty folders are removed directly, non-empty folders will be prefixed with DELETED- to flag them.
    • checksum
      Updates the checksum for the storage object instance with the given identifier.
    • folder
      Prints the storage folder path for the given object id

The following commands are available as management commands. The must be run with the manage.py module. For example:
python manage.py command

  • build_solr_schema
  • changepassword
  • check_proxied_nodes
  • cleanup
  • clear_index
  • compilemessages
  • createcachetable
  • createsuperuser
  • createsuperuserwithpassword
  • createsyncuser
  • dbshell
  • diffsettings
  • dumpdata
  • flush
  • get_resource_list
  • get_resource_list_ex
  • haystack_info
  • inspectdb
  • installtasks
  • jenkins
  • jslint
  • jtest
  • loaddata
  • makemessages
  • pep8
  • ping_google
  • pyflakes
  • pylint
  • rebuild_index
  • remove_node
    Usage: manage.py remove_node [options] <node_name node_name ...>
    Removes all resources of the nodes with the given names
  • repair_recommendations
  • repair_storage_folder
    Usage: manage.py repair_storage_folder [options]
    Repair content of storage folder by forcing the recreation of all files. Superfluous files are deleted.
  • reset
  • runfcgi
  • runserver
  • runtask
  • shell
  • sql
  • sqlall
  • sqlclear
  • sqlcustom
  • sqlflush
  • sqlindexes
  • sqlinitialdata
  • sqlreset
  • sqlsequencereset
  • startapp
  • syncdb
  • synchronize
  • test
  • testserver
  • uninstalltasks
  • update_digests
  • update_geoip_db
  • update_index
  • validate
  • windmill
Clone this wiki locally