Guest User

Untitled

a guest
Oct 9th, 2018
102
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.77 KB | None | 0 0
  1. (morpheus)tom@tom-HP-Pavilion-dv6-Notebook-PC:~/morpheus$ fab test
  2. [localhost] local: cp yaml/app_morpheus.yaml app.yaml
  3. [localhost] local: cp yaml/cron_morpheus.yaml cron.yaml
  4. [localhost] local: cp yaml/backends_morpheus.yaml backends.yaml
  5. [localhost] local: dev_appserver.py -p 8081 --mysql_user=root --mysql_password=tom1mt --show_mail_body . &
  6. [localhost] local: sleep 5
  7. [localhost] local: python manage.py test --selenium-only
  8. Usage: manage.py action [options]
  9. actions:
  10. adminindex [appname ...]
  11. Prints the admin-index template snippet for the given app name(s).
  12.  
  13. createcachetable [tablename]
  14. Creates the table needed to use the SQL cache backend
  15.  
  16. dbshell
  17. Runs the command-line client for the current DATABASE_ENGINE.
  18.  
  19. diffsettings
  20. Displays differences between the current settings.py and Django's
  21. default settings. Settings that don't appear in the defaults are
  22. followed by "###".
  23.  
  24. dumpdata [--format][appname ...]
  25. Output the contents of the database as a fixture of the given
  26. format
  27.  
  28. flush [--verbosity] [--interactive]
  29. Executes ``sqlflush`` on the current database.
  30.  
  31. inspectdb
  32. Introspects the database tables in the given database and outputs
  33. a Django model module.
  34.  
  35. loaddata [--verbosity] fixture, fixture, ...
  36. Installs the named fixture(s) in the database
  37.  
  38. reset [--interactive][appname ...]
  39. Executes ``sqlreset`` for the given app(s) in the current
  40. database.
  41.  
  42. runfcgi [various KEY=val options, use `runfcgi help` for help]
  43. Runs this project as a FastCGI application. Requires flup.
  44.  
  45. runserver [--noreload] [--adminmedia=ADMIN_MEDIA_PATH] [optional port number, or ipaddr:port]
  46. Starts a lightweight Web server for development.
  47.  
  48. shell [--plain]
  49. Runs a Python interactive interpreter. Tries to use IPython, if
  50. it's available.
  51.  
  52. sql [appname ...]
  53. Prints the CREATE TABLE SQL statements for the given app name(s).
  54.  
  55. sqlall [appname ...]
  56. Prints the CREATE TABLE, initial-data and CREATE INDEX SQL
  57. statements for the given model module name(s).
  58.  
  59. sqlclear [appname ...]
  60. Prints the DROP TABLE SQL statements for the given app name(s).
  61.  
  62. sqlcustom [appname ...]
  63. Prints the custom table modifying SQL statements for the given app
  64. name(s).
  65.  
  66. sqlflush
  67. Returns a list of the SQL statements required to return all tables
  68. in the database to the state they were in just after they were
  69. installed.
  70.  
  71. sqlindexes [appname ...]
  72. Prints the CREATE INDEX SQL statements for the given model module
  73. name(s).
  74.  
  75. sqlinitialdata
  76. RENAMED: see 'sqlcustom'
  77.  
  78. sqlreset [appname ...]
  79. Prints the DROP TABLE SQL, then the CREATE TABLE SQL, for the
  80. given app name(s).
  81.  
  82. sqlsequencereset [appname ...]
  83. Prints the SQL statements for resetting PostgreSQL sequences for
  84. the given app name(s).
  85.  
  86. startapp [appname]
  87. Creates a Django app directory structure for the given app name in
  88. the current directory.
  89.  
  90. syncdb [--verbosity] [--interactive]
  91. Create the database tables for all apps in INSTALLED_APPS whose
  92. tables haven't already been created.
  93.  
  94. test [--verbosity] [appname ...]
  95. Runs the test suite for the specified applications, or the entire
  96. site if no apps are specified
  97.  
  98. validate
  99. Validates all installed models.
  100.  
  101. manage.py: error: no such option: --selenium-only
  102. [localhost] local: ps x | grep dev_appserver | grep 8081 | cut -f 1 -d " " | xargs kill
  103. Usage:
  104. kill pid ... Send SIGTERM to every process listed.
  105. kill signal pid ... Send a signal to every process listed.
  106. kill -s signal pid ... Send a signal to every process listed.
  107. kill -l List all signal names.
  108. kill -L List all signal names in a nice table.
  109. kill -l signal Convert between signal numbers and names.
  110. [localhost] local: sleep 3
  111.  
  112. Done.
Add Comment
Please, Sign In to add comment