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
This commit is contained in:
parent
600c07ec20
commit
8b72c7cf96
@ -117,12 +117,12 @@ Installing the Javascript-based web client
|
|||||||
|
|
||||||
3. Run a local development server, which uses the localhost API::
|
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::
|
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
|
Optional steps: Seed database with base data
|
||||||
|
@ -5,54 +5,54 @@ Using tox:
|
|||||||
----------
|
----------
|
||||||
|
|
||||||
* Run the test suite::
|
* Run the test suite::
|
||||||
|
|
||||||
tox -egrunt test
|
tox -egrunt test
|
||||||
|
|
||||||
|
|
||||||
* Run a local development server::
|
* Run a local development server::
|
||||||
|
|
||||||
tox -egrunt server
|
tox -egrunt serve
|
||||||
|
|
||||||
|
|
||||||
* Run a local development server without the API::
|
* Run a local development server without the API::
|
||||||
|
|
||||||
tox -egrunt_no_api server`
|
tox -egrunt_no_api serve
|
||||||
|
|
||||||
|
|
||||||
* Package the distro::
|
* Package the distro::
|
||||||
|
|
||||||
tox -egrunt build
|
tox -egrunt build
|
||||||
|
|
||||||
|
|
||||||
Using grunt directly within virtual environment
|
Using grunt directly within virtual environment
|
||||||
-----------------------------------------------
|
-----------------------------------------------
|
||||||
|
|
||||||
* Activate virtual environment::
|
* Activate virtual environment::
|
||||||
|
|
||||||
source .tox/grunt/bin/activate
|
source .tox/grunt/bin/activate
|
||||||
|
|
||||||
|
|
||||||
* Update/refresh the javascript build and runtime dependencies::
|
* Update/refresh the javascript build and runtime dependencies::
|
||||||
|
|
||||||
npm prune
|
npm prune
|
||||||
npm install
|
npm install
|
||||||
bower prune
|
bower prune
|
||||||
bower install
|
bower install
|
||||||
|
|
||||||
|
|
||||||
* Run a local development server with API and web client::
|
* Run a local development server with API and web client::
|
||||||
|
|
||||||
grunt server
|
grunt serve
|
||||||
|
|
||||||
|
|
||||||
* Run the test suite::
|
* Run the test suite::
|
||||||
|
|
||||||
grunt test
|
grunt test
|
||||||
|
|
||||||
|
|
||||||
* Package the distro::
|
* Package the distro::
|
||||||
|
|
||||||
grunt build
|
grunt build
|
||||||
|
|
||||||
|
|
||||||
* Bootstrap your database::
|
* Bootstrap your database::
|
||||||
@ -62,13 +62,13 @@ Using grunt directly within virtual environment
|
|||||||
|
|
||||||
* Migrate the database::
|
* Migrate the database::
|
||||||
|
|
||||||
./bin/api.sh migrate-db
|
./bin/api.sh migrate-db
|
||||||
|
|
||||||
|
|
||||||
* Start the API::
|
* Start the API::
|
||||||
|
|
||||||
./bin/api.sh start
|
./bin/api.sh start
|
||||||
|
|
||||||
* Stop the API::
|
* Stop the API::
|
||||||
|
|
||||||
./bin/api.sh stop
|
./bin/api.sh stop
|
||||||
|
Loading…
Reference in New Issue
Block a user