Giter Club home page Giter Club logo

Comments (6)

rhagarty avatar rhagarty commented on May 29, 2024

@samaa - sorry your running into issues, but I really need more information to help diagnose the problem. There are a number of ways to install and run this application, so you need to detail the steps you took to get to this point.

Since you are using npm start, I assume you have created your Discovery service and placed the credentials in your .env file. The URL for this service is shown in the service credentials panel for the service. Your discovery URL should look something like this:

DISCOVERY_URL=https://gateway.watsonplatform.net/discovery/api

from watson-discovery-ui.

samaa avatar samaa commented on May 29, 2024

I tried to put the url on the form u gave me and here screen shot of env.sample and screen shot of bash

from watson-discovery-ui.

samaa avatar samaa commented on May 29, 2024

https://ibb.co/hc7KH33
https://ibb.co/Rp8C4qq

from watson-discovery-ui.

rhagarty avatar rhagarty commented on May 29, 2024

@samaa - couple of issues.

  1. you need to remove the brackets < from the .env file. They are meant to indicate that you need to substitute the values. Your values should be similar to:
DISCOVERY_URL=https://gateway.watsonplatform.net/discovery/api
[email protected]
DISCOVERY_PASSWORD=*******
  1. Please check the credentials created for your Watson Discovery service. Make sure it is using uname/password. In most regions, the service is now using apikey. This is explained in the comments of the .env file.

from watson-discovery-ui.

stevemar avatar stevemar commented on May 29, 2024

@samaa one other thing to note is that DISCOVERY_USERNAME is not your IBM Cloud username. It's based on the credentials of the Discovery service (and typically a random string, not an email). You can see this after you create the service in the "service credentials" tab it'll look like this below.

from watson-discovery-ui.

samaa avatar samaa commented on May 29, 2024

It worked Thanks alot :)))))

from watson-discovery-ui.

Related Issues (20)

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.