From 8b72c7cf96754b836f15b400ee936c6be58739b1 Mon Sep 17 00:00:00 2001 From: Richard Jones Date: Sat, 8 Nov 2014 22:57:27 +0000 Subject: [PATCH] Switch to "serve" verb, and a minor clean up. This is the documentation fix for change 133192. Additionally, I have replaced a few errant tabs with spaces, per Yolanda's request. Change-Id: I1f8188eddd5012457cd0720fe3cea03e2f230fc5 --- doc/source/install/development.rst | 4 ++-- doc/source/webclient.rst | 34 +++++++++++++++--------------- 2 files changed, 19 insertions(+), 19 deletions(-) diff --git a/doc/source/install/development.rst b/doc/source/install/development.rst index 143a2560..0a6d6e02 100644 --- a/doc/source/install/development.rst +++ b/doc/source/install/development.rst @@ -117,12 +117,12 @@ Installing the Javascript-based web client 3. Run a local development server, which uses the localhost API:: - tox -egrunt_no_api server + tox -egrunt_no_api serve 4. Run a local development server, which uses the production API:: - tox -egrunt_no_api server:prod + tox -egrunt_no_api serve:prod Optional steps: Seed database with base data diff --git a/doc/source/webclient.rst b/doc/source/webclient.rst index 82575833..b28fad73 100644 --- a/doc/source/webclient.rst +++ b/doc/source/webclient.rst @@ -5,54 +5,54 @@ Using tox: ---------- * Run the test suite:: - - tox -egrunt test + + tox -egrunt test * Run a local development server:: - tox -egrunt server + tox -egrunt serve * Run a local development server without the API:: - tox -egrunt_no_api server` + tox -egrunt_no_api serve * Package the distro:: - tox -egrunt build + tox -egrunt build Using grunt directly within virtual environment ----------------------------------------------- * Activate virtual environment:: - - source .tox/grunt/bin/activate + + source .tox/grunt/bin/activate * Update/refresh the javascript build and runtime dependencies:: - npm prune - npm install - bower prune - bower install + npm prune + npm install + bower prune + bower install * Run a local development server with API and web client:: - grunt server + grunt serve * Run the test suite:: - grunt test + grunt test * Package the distro:: - grunt build + grunt build * Bootstrap your database:: @@ -62,13 +62,13 @@ Using grunt directly within virtual environment * Migrate the database:: - ./bin/api.sh migrate-db + ./bin/api.sh migrate-db * Start the API:: - ./bin/api.sh start + ./bin/api.sh start * Stop the API:: - ./bin/api.sh stop \ No newline at end of file + ./bin/api.sh stop