https://github.com/actionml/template-scala-parallel-universal-recommendation#v042-replaces-041

"It's meant to be used with PredictionIO-0.9.7-aml", the ActionML fork of
PredictionIO. The 0.5.0 will be using the Apache Predictionio-0.10.0.

I see you posted in
https://github.com/PredictionIO/template-scala-parallel-universal-recommendation/issues/53,
did the answer there solve your problem?

Tom

On Fri, Nov 11, 2016 at 11:57 AM, unoexperto <[email protected]> wrote:

> Github user unoexperto commented on the issue:
>
>     https://github.com/apache/incubator-predictionio/issues/327
>
>     Sure. I'm getting it from https://github.com/actionml/
> template-scala-parallel-universal-recommendation.git and using tag v0.4.2.
>
>     Here are all steps I perform to install
>
>     ```
>     FROM expert/predictionio:0.9.7
>     MAINTAINER unoexperto <[email protected]>
>
>     # installing tool
>     RUN apk add --update --no-cache git wget
>
>     ENV MAVEN_VERSION=3.3.9
>     ENV M2_HOME=/usr/lib/mvn
>     ENV M2=$M2_HOME/bin
>     ENV PATH=$PATH:$M2_HOME:$M2:$JAVA_HOME:$JAVA
>     ENV RECOMMENDER_PATH=/opt/ArticleRecommender
>
>     RUN wget -O /tmp/maven.tar.gz "http://ftp.unicamp.br/pub/
> apache/maven/maven-3/$MAVEN_VERSION/binaries/apache-maven-
> $MAVEN_VERSION-bin.tar.gz" && \
>       tar -zxvf /tmp/maven.tar.gz -C /tmp && \
>       mv /tmp/apache-maven-$MAVEN_VERSION "$M2_HOME" && \
>       ln -s "$M2_HOME/bin/mvn" /usr/bin/mvn && \
>       rm /tmp/maven.tar.gz
>
>     RUN git clone https://github.com/apache/mahout.git /tmp/mahout && \
>       cd /tmp/mahout && \
>       mvn clean install -DskipTests && \
>       rm -R /tmp/mahout
>
>     # http://predictionio.incubator.apache.org/templates/
> recommendation/quickstart/
>     RUN git clone https://github.com/actionml/template-scala-parallel-
> universal-recommendation.git ${RECOMMENDER_PATH} && \
>         cd ${RECOMMENDER_PATH} && \
>         mkdir ${RECOMMENDER_PATH}/external && \
>         git checkout tags/v0.4.2
>     COPY files/engine.json ${RECOMMENDER_PATH}/engine.json
>     COPY files/run.sh ${RECOMMENDER_PATH}/scripts/run.sh
>
>     RUN chmod +x ${RECOMMENDER_PATH}/scripts/run.sh
>
>     # Cleanup
>     RUN rm -R ~/.ivy2 && \
>         rm -R ~/.m2 && \
>         apk del git wget
>
>     WORKDIR ${RECOMMENDER_PATH}
>     VOLUME ["${RECOMMENDER_PATH}/scripts", "${RECOMMENDER_PATH}/external"]
>
>     ENTRYPOINT ["/bin/ash", "/opt/ArticleRecommender/scripts/run.sh"]
>     ```
>
>
> ---
> If your project is set up for it, you can reply to this email and have your
> reply appear on GitHub as well. If your project does not have this feature
> enabled and wishes so, or if the feature is enabled but not working, please
> contact infrastructure at [email protected] or file a JIRA ticket
> with INFRA.
> ---
>

Reply via email to