Fix docs because pio template is no longer supported. Closes #379
Project: http://git-wip-us.apache.org/repos/asf/incubator-predictionio/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-predictionio/commit/490dd9e9 Tree: http://git-wip-us.apache.org/repos/asf/incubator-predictionio/tree/490dd9e9 Diff: http://git-wip-us.apache.org/repos/asf/incubator-predictionio/diff/490dd9e9 Branch: refs/heads/develop Commit: 490dd9e9fc8a055c0dd256880c164c8de21fc2fd Parents: a7acb30 Author: Naoki Takezoe <[email protected]> Authored: Thu May 18 13:33:46 2017 +0900 Committer: Naoki Takezoe <[email protected]> Committed: Thu May 18 13:35:36 2017 +0900 ---------------------------------------------------------------------- docs/manual/source/demo/tapster.html.md | 2 +- docs/manual/source/demo/textclassification.html.md.erb | 2 +- docs/manual/source/machinelearning/dimensionalityreduction.html.md | 2 +- .../source/partials/shared/quickstart/_create_engine.html.md.erb | 2 +- docs/manual/source/resources/intellij.html.md.erb | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-predictionio/blob/490dd9e9/docs/manual/source/demo/tapster.html.md ---------------------------------------------------------------------- diff --git a/docs/manual/source/demo/tapster.html.md b/docs/manual/source/demo/tapster.html.md index 7345bab..93213c3 100644 --- a/docs/manual/source/demo/tapster.html.md +++ b/docs/manual/source/demo/tapster.html.md @@ -114,7 +114,7 @@ We are going to copy the Similar Product Template into the PIO directory. ``` $ cd PredictionIO -$ pio template get apache/incubator-predictionio-template-similar-product tapster-episode-similar +$ git clone https://github.com/apache/incubator-predictionio-template-similar-product.git tapster-episode-similar ``` Next we are going to update the App ID in the âengine.jsonâ file to match the App ID we just created. http://git-wip-us.apache.org/repos/asf/incubator-predictionio/blob/490dd9e9/docs/manual/source/demo/textclassification.html.md.erb ---------------------------------------------------------------------- diff --git a/docs/manual/source/demo/textclassification.html.md.erb b/docs/manual/source/demo/textclassification.html.md.erb index 7beef7d..788178d 100644 --- a/docs/manual/source/demo/textclassification.html.md.erb +++ b/docs/manual/source/demo/textclassification.html.md.erb @@ -41,7 +41,7 @@ You should also download the engine template named Text Classification Engine that accompanies this tutorial by cloning the template repository: ``` -pio template get apache/incubator-predictionio-template-text-classifier < Your new engine directory > +git clone https://github.com/apache/incubator-predictionio-template-text-classifier.git < Your new engine directory > ``` http://git-wip-us.apache.org/repos/asf/incubator-predictionio/blob/490dd9e9/docs/manual/source/machinelearning/dimensionalityreduction.html.md ---------------------------------------------------------------------- diff --git a/docs/manual/source/machinelearning/dimensionalityreduction.html.md b/docs/manual/source/machinelearning/dimensionalityreduction.html.md index 39eb72e..cdbcda6 100644 --- a/docs/manual/source/machinelearning/dimensionalityreduction.html.md +++ b/docs/manual/source/machinelearning/dimensionalityreduction.html.md @@ -47,7 +47,7 @@ As a guiding example, a base data set, the [MNIST digit recognition dataset](htt Now, we first pull the [classification engine template](/gallery/template-gallery/#classification) via the following bash line ``` -pio template get apache/incubator-predictionio-template-attribute-based-classifier <Your new engine directory> +git clone https://github.com/apache/incubator-predictionio-template-attribute-based-classifier.git <Your new engine directory> ``` You should immediately be prompted with the following message: http://git-wip-us.apache.org/repos/asf/incubator-predictionio/blob/490dd9e9/docs/manual/source/partials/shared/quickstart/_create_engine.html.md.erb ---------------------------------------------------------------------- diff --git a/docs/manual/source/partials/shared/quickstart/_create_engine.html.md.erb b/docs/manual/source/partials/shared/quickstart/_create_engine.html.md.erb index abf2966..61ec3c6 100644 --- a/docs/manual/source/partials/shared/quickstart/_create_engine.html.md.erb +++ b/docs/manual/source/partials/shared/quickstart/_create_engine.html.md.erb @@ -18,7 +18,7 @@ limitations under the License. Now let's create a new engine called *<%= engine_name %>* by downloading the <%= template_name %>. Go to a directory where you want to put your engine and run the following: ``` -$ pio template get <%= template_repo %> <%= engine_name %> +$ git clone https://github.com/apache/<%= template_repo %>.git <%= engine_name %> $ cd <%= engine_name %> ``` http://git-wip-us.apache.org/repos/asf/incubator-predictionio/blob/490dd9e9/docs/manual/source/resources/intellij.html.md.erb ---------------------------------------------------------------------- diff --git a/docs/manual/source/resources/intellij.html.md.erb b/docs/manual/source/resources/intellij.html.md.erb index 57388dc..137f0fb 100644 --- a/docs/manual/source/resources/intellij.html.md.erb +++ b/docs/manual/source/resources/intellij.html.md.erb @@ -206,7 +206,7 @@ response is created or run the query with no breakpoints. To customize an existing [template](/gallery/template-gallery) using Intellij IDEA, first pull it from the template gallery: ```bash -$ pio template get <Template Source> <New Engine Directory> +$ git clone <Template Source> <New Engine Directory> ``` Now, before opening the template with Intellij, run the following command in the new engine template directory
