storyboard/doc/source/webclient.rst
François Magimel 379b606dcc Replace broken links and http links in the doc
Some typos were fixed too.

Change-Id: I05f621c2daa1142006ab8e04164c75a031edea4f
2018-06-30 00:04:59 +02:00

967 B

Web Client Commands

Using tox:

  • Run the test suite:

    tox -egrunt test
  • Run a local development server:

    tox -egrunt serve
  • Run a local development server without the API:

    tox -egrunt_no_api serve
  • Package the distro:

    tox -egrunt build

Using grunt directly within virtual environment

  • Activate virtual environment:

    source .tox/grunt/bin/activate
  • Update/refresh the javascript build and runtime dependencies:

    npm prune
    npm install
    bower prune
    bower install
  • Run a local development server with API and web client:

    grunt serve
  • Run the test suite:

    grunt test
  • Package the distro:

    grunt build
  • Bootstrap your database:

    ./bin/api.sh create-db
  • Migrate the database:

    ./bin/api.sh migrate-db
  • Start the API:

    ./bin/api.sh start
  • Stop the API:

    ./bin/api.sh stop