Git Product home page Git Product logo

nycschoolfinder's Introduction

German Attanasio

CTO & software dev w/ expertise in distributed apps, microservices, cloud, & container orchestration.

⤷ I am a highly skilled software engineer with extensive experience building and maintaining distributed applications. With a solid software development and architecture background, I can lead teams to deliver robust and scalable systems.

⚐ Based in New York

ϟ Currently CTO @ Moveo.ai

ϟ Recently IBM Watson, IBM Research, UNICEN

Skills

JavaScript Python React NodeJS Go

nycschoolfinder's People

Contributors

germanattanasio avatar jeronimodeleon avatar splatcollision avatar szupie avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

nycschoolfinder's Issues

Issues with getting the nycschoolfinder app up and running locally

Hi,

I am having a few issues with trying to setup the nycschoolfinder app which is one of the example application which was built using the Tradeoff analytics Watson service.

Issue 1:

  1. From Github, select Download ZIP to download the nycschoolfinder source code locally e.g. C:\IBM\Watson\nycschoolfinder-master https://github.com/germanattanasio/nycschoolfinder
  2. Open a command prompt and change to the directory cd C:\IBM\Watson\nycschoolfinder-master
  3. Specify the Bluemix external Watson service APIs cf api http://api.ng.bluemix.net
  4. Login to Bluemix cf login -u username -p password
    e.g. cf login -u [email protected] -p password
  5. Create the following Watson services
    • tradeoff analytics
    • personality insights
    • cloudant
    Open the manifest.yml file to see the service-name, service-plan and service-instance-name details. cf create-service service-name service-plan service-instance-name
    Commands to create tradeoff analytics services:
    cf create-service tradeoff_analytics standard tradeoff-analytics-standard-service
    Create personality insights service:
    cf create-service personality_insights standard personality-insights-service
    Create cloudant service:
    cf create-service cloudantNoSQLDB shared cloudant
  6. Deploy and run the application on Bluemix
    The application-name is specified in the manifest.yml file. cf push application-name
    e.g. cf push nycschoolfinder2
  7. Login to Bluemix to view the application and the services deployed. https://console.ng.bluemix.net/
  8. Select the Cloudant NoSQL DB service and click Launch.
  9. Click Add New Database and create 2 new databases called schools and tradeoffs.
    10 From Bluemix>Cloudant, select Service Credentials and click Add Credentials.
    These credentials can also be used to login through https://cloudant.com/
  10. Select the application and the route URL is displayed. application-name.mybluemix.net
    nycschoolfinder2.mybluemix.net
  11. Click on the Doing a demo link and copy some content from one of the txt files.
    Paste it in the input box and click Analyse.
  12. I am currently getting the following error which I am investigating.
    Error:
    Data supplied is missing critical information. no options found
    issue

The NYC School Finder example seems to be missing the instructions on deploying the app to Bluemix, or what prerequisites are required before trying to run locally.

Issue 2:

  1. I followed the running locally instructions specified in https://github.com/germanattanasio/nycschoolfinder.
  2. When I try to run 'node app.js analyze' I get the following error:

C:\IBM\Watson\nycschoolfinder-master\node_modules\watson-developer-cloud\lib\index.js:65
throw new Error('Argument error: api_key or username and password
Error: Argument error: api_key or username and password were not specified
at Object.personality_insights (C:\IBM\Watson\nycschoolfinder-master\node_mo
dules\watson-developer-cloud\lib\index.js:65:19)
at Object. (C:\IBM\Watson\nycschoolfinder-master\app.js:28:27)
at Module._compile (module.js:460:26)
at Object.Module._extensions..js (module.js:478:10)
at Module.load (module.js:355:32)
at Function.Module._load (module.js:310:12)
at Function.Module.runMain (module.js:501:10)
at startup (node.js:129:16)
at node.js:814:3

Thanks,

Caroline

local deployment issue

Hi,
I have a problem while deploying the NYC School finder application to local.
At the npm run train step, I got the following error in the node.js console

**C:\Projetcs\CPC\nycschoolfinder-master\node_modules\cloudant\lib\reconfigure.js:
72
if (outUrl.slice(-1) == '/') {
^

TypeError: Cannot read property 'slice' of undefined
at module.exports (C:\Projetcs\CPC\nycschoolfinder-master\node_modules\cloud
ant\lib\reconfigure.js:72:13)
at Cloudant (C:\Projetcs\CPC\nycschoolfinder-master\node_modules\cloudant\cl
oudant.js:47:14)
at Object. (C:\Projetcs\CPC\nycschoolfinder-master\app.js:48:1)
at Module._compile (module.js:570:32)
at Object.Module._extensions..js (module.js:579:10)
at Module.load (module.js:487:32)
at tryModuleLoad (module.js:446:12)
at Function.Module._load (module.js:438:3)
at Module.runMain (module.js:604:10)
at run (bootstrap_node.js:394:7)**

Please advice how this could be fixed.
Thanks

Tradeoff Analytics results do not load

When I analyze my text, I get the Personality Insights results back, but the Tradeoff Analytics UI continues to infinitely show the loading gif. The console shows the following error, which may be related:

image

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.