GithubHelp home page GithubHelp logo

vmware-archive / gcp-ml-sentiment Goto Github PK

View Code? Open in Web Editor NEW
9.0 5.0 6.0 3.73 MB

Demo Spring Boot app which uses the Google Cloud Platform's Vision, BigQuery, and Storage services/APIs

License: MIT License

Shell 1.93% Java 85.76% FreeMarker 12.31%

gcp-ml-sentiment's Introduction

gcp-ml-sentiment is no longer actively maintained by VMware.

Demo of Spring Boot App Which Combines Various Google Cloud Platform Services

To install

  • Follow its instructions and deploy the image resizing service. This service is available here
  • Consider scaling it up somewhat
  • Build this project
sh mvnw clean package
  • Change the manifest.yml in this project to reflect the image service url
    ---
    applications:
    - name: landmark
      path: target/gcp-ml-nlp-0.0.1-SNAPSHOT.jar
      buildpack: java_buildpack_offline
      memory: 1G
      env:
        IMAGE_RESIZING_SERVICE_URL: http://image-resizing-service.apps.yourdomain.com
        GOOGLE_MAPS_API_KEY: <INSERT YOUR GOOGLE_MAPS_API_KEY>
  • Create the necessary services, names are important since we look a service by its name inside our code:
    cf create-service google-storage standard gcp-storage
    cf create-service google-ml-apis default gcp-ml
    cf create-service google-bigquery default gcp-bigquery
  • Push the application with --no-start parameter
    cf push --no-start
  • Bind the services with right roles
    cf bind-service landmark gcp-bigquery -c '{"role": "bigquery.user"}'
    cf bind-service landmark gcp-storage -c '{"role": "storage.admin"}'
    cf bind-service landmark gcp-ml -c '{"role": "ml.developer"}'
  • Start the application
    cf start landmark

gcp-ml-sentiment's People

Contributors

cholick avatar danawillow avatar fmarinelli avatar mgoddard-pivotal avatar mross1080 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

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.