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