Warning: count(): Parameter must be an array or an object that implements Countable in /home/iteanz/public_html/wp-includes/post-template.php on line 317

Clone the source code repository and run it

  1. Clone the source code by using the .branch project-skeleton.
    git clone –b project-skeleton
    cd nationalparks_conversation
    as the project root.
    Tip: To see the compete working code, switch to the master branch by running the following command: git checkout master.
    Run git checkout project-skeleton to switch back.
  2. Import the conversation to Watson Conversation tooling. Click the Import button to import the workspace file located in the project root at resources/conversation_workspace.json. This file is located in the repository that you cloned in step 1.
  3. If you haven’t done so already, record your workspace ID from the Watson Conversation tooling page.
  4. If you haven’t done so already, record your service credentials (username and password) from the Service Credentials page.
  5. Be sure that you are in the project root folder and then update the .env file with your service credentials and workspace ID. For example, add these values to the .env file:
  6. Install dependencies by running the following commands:
    npm install
    cd client
    npm install
    cd . .
  7. Run the application by entering these commands:
    npm start
    cd client
    npm start
  8. Test the application by navigating to http://localhost:3000. Then, enter some text such as
    Show me a list of parks.

Note: Some functionality will not work until you complete this lab.