Grunt invocation now allows passing of --hostname

Documentation has been updated to provide an example of using
the --hostname parameter to bind to 0.0.0.0. Other examples have
also been updated to explicitly use tox's '--' option to separate
posargs.

This updates the documentation to include the feature described
in https://review.openstack.org/#/c/138053/

Change-Id: I8a1b6c78b23c1e9056c8064c41e16eb562254c75
This commit is contained in:
Michael Krotscheck 2015-01-20 12:17:24 -08:00
parent eb871df4ba
commit a2723f05ce

View File

@ -117,12 +117,18 @@ Installing the Javascript-based web client
3. Run a local development server, which uses the localhost API::
tox -egrunt_no_api serve
tox -egrunt_no_api -- serve
4. Run a local development server, which uses the production API::
4. Run a local development server, which binds to a specific IP and
consumes the localhost API::
tox -egrunt_no_api serve:prod
tox -egrunt_no_api -- serve --hostname 0.0.0.0
5. Run a local development server, which uses the production API::
tox -egrunt_no_api -- serve:prod
Optional steps: Seed database with base data