GithubHelp home page GithubHelp logo

heroku-buildpack-predictionio's Introduction

Heroku buildpack: PredictionIO

This is a Heroku buildpack for building and deploying Prediction IO recommendation engine.

Usage

Create a Git repository for a PredictionIO app:

$ cd myRecommendationApp
$ ls
README.md	build.sbt	data	engine.json	manifest.json	project		src
$ git init
Initialized empty Git repository in /Users/bhagwat/myRecommendationApp/.git/
$ git commit -m init
[master (root-commit) 7febdd9] init
 58 files changed, 2788 insertions(+), 0 deletions(-)
 create mode 100644 README.md
 create mode 100644 .gitignore
 create mode 100644 engine.json
 create mode 100644 manifest.json
...

Create a Heroku app on the Cedar stack

$ heroku create --stack cedar
Creating vivid-mist-9984... done, stack is cedar
http://vivid-mist-9984.herokuapp.com/ | [email protected]:vivid-mist-9984.git
Git remote heroku added

Push the app to Heroku

$ git push heroku master
Counting objects: 73, done.
Delta compression using up to 4 threads.
Compressing objects: 100% (69/69), done.
Writing objects: 100% (73/73), 97.82 KiB, done.
Total 73 (delta 2), reused 0 (delta 0)

-----> Heroku receiving push
-----> PredictionIO App detected
...

Auto-detection

Heroku auto-detects PredictionIO apps by the existence of the engine.json file in the root directory.

Using a Customized (Forked) Build Pack

This is the default buildpack repository for Grails. You can fork this repo and tell Heroku to use the forked version by passing the --buildpack option to heroku create:

$ heroku create --stack cedar --buildpack [email protected]:bhagwat/heroku-buildpack-predictionio.git

License

Licensed under the MIT License. See LICENSE file.

heroku-buildpack-predictionio's People

Contributors

bhagwat avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

heroku-buildpack-predictionio's Issues

How to use it?

Thank you for creating this buildback, but how do I use it?
Is there an example project I could clone it from?
I tried deploying an empty project with an empty "engine.json" file and I'm getting the following error (after figuring out I had to 'heroku config' the MYSQL connection vars):

remote: [INFO] [Console$] [error] Not a valid command: assemblyPackageDependency
remote: [INFO] [Console$] [error] Not a valid project ID: assemblyPackageDependency
remote: [INFO] [Console$] [error] Expected ':' (if selecting a configuration)
remote: [INFO] [Console$] [error] Not a valid key: assemblyPackageDependency (similar: sbtDependency)
remote: [INFO] [Console$] [error] assemblyPackageDependency
remote: [INFO] [Console$] [error]                          ^

Thank you in advance!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.