Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- (morpheus)tom@tom-HP-Pavilion-dv6-Notebook-PC:~/morpheus$ fab test
- [localhost] local: cp yaml/app_morpheus.yaml app.yaml
- [localhost] local: cp yaml/cron_morpheus.yaml cron.yaml
- [localhost] local: cp yaml/backends_morpheus.yaml backends.yaml
- [localhost] local: dev_appserver.py -p 8081 --mysql_user=root --mysql_password=tom1mt --show_mail_body . &
- [localhost] local: sleep 5
- [localhost] local: python manage.py test --selenium-only
- Usage: manage.py action [options]
- actions:
- adminindex [appname ...]
- Prints the admin-index template snippet for the given app name(s).
- createcachetable [tablename]
- Creates the table needed to use the SQL cache backend
- dbshell
- Runs the command-line client for the current DATABASE_ENGINE.
- diffsettings
- Displays differences between the current settings.py and Django's
- default settings. Settings that don't appear in the defaults are
- followed by "###".
- dumpdata [--format][appname ...]
- Output the contents of the database as a fixture of the given
- format
- flush [--verbosity] [--interactive]
- Executes ``sqlflush`` on the current database.
- inspectdb
- Introspects the database tables in the given database and outputs
- a Django model module.
- loaddata [--verbosity] fixture, fixture, ...
- Installs the named fixture(s) in the database
- reset [--interactive][appname ...]
- Executes ``sqlreset`` for the given app(s) in the current
- database.
- runfcgi [various KEY=val options, use `runfcgi help` for help]
- Runs this project as a FastCGI application. Requires flup.
- runserver [--noreload] [--adminmedia=ADMIN_MEDIA_PATH] [optional port number, or ipaddr:port]
- Starts a lightweight Web server for development.
- shell [--plain]
- Runs a Python interactive interpreter. Tries to use IPython, if
- it's available.
- sql [appname ...]
- Prints the CREATE TABLE SQL statements for the given app name(s).
- sqlall [appname ...]
- Prints the CREATE TABLE, initial-data and CREATE INDEX SQL
- statements for the given model module name(s).
- sqlclear [appname ...]
- Prints the DROP TABLE SQL statements for the given app name(s).
- sqlcustom [appname ...]
- Prints the custom table modifying SQL statements for the given app
- name(s).
- sqlflush
- Returns a list of the SQL statements required to return all tables
- in the database to the state they were in just after they were
- installed.
- sqlindexes [appname ...]
- Prints the CREATE INDEX SQL statements for the given model module
- name(s).
- sqlinitialdata
- RENAMED: see 'sqlcustom'
- sqlreset [appname ...]
- Prints the DROP TABLE SQL, then the CREATE TABLE SQL, for the
- given app name(s).
- sqlsequencereset [appname ...]
- Prints the SQL statements for resetting PostgreSQL sequences for
- the given app name(s).
- startapp [appname]
- Creates a Django app directory structure for the given app name in
- the current directory.
- syncdb [--verbosity] [--interactive]
- Create the database tables for all apps in INSTALLED_APPS whose
- tables haven't already been created.
- test [--verbosity] [appname ...]
- Runs the test suite for the specified applications, or the entire
- site if no apps are specified
- validate
- Validates all installed models.
- manage.py: error: no such option: --selenium-only
- [localhost] local: ps x | grep dev_appserver | grep 8081 | cut -f 1 -d " " | xargs kill
- Usage:
- kill pid ... Send SIGTERM to every process listed.
- kill signal pid ... Send a signal to every process listed.
- kill -s signal pid ... Send a signal to every process listed.
- kill -l List all signal names.
- kill -L List all signal names in a nice table.
- kill -l signal Convert between signal numbers and names.
- [localhost] local: sleep 3
- Done.
Add Comment
Please, Sign In to add comment