This is the repository for the TravelBid demo setup. It's based on Cloud Pak for Data v2.1.
Download and Load the core setup modules. Import the dataset into Cloud Pak for Data Prepare and shape the dataset using Data Transform. Using Shiny R package build the TravelBid application.
Follow these steps to create the required services and run the notebook locally.
Clone the TravelBid repository locally. In a terminal, run the following command:
$ git clone https://github.com/sanjitc/TravelBid.git
$ cd TravelBid/tutorials
$ ./load_samples.sh -l
- db2-travel-001
- mongo-travel-001
Depending on the data source, you would pass the domain in the loader.
$ ./load_samples.sh -t db2-travel-001
$ ./load_samples.sh -t mongo-travel-001
Connection Details for DB2:
Connection type = DB2
Host = Master1 IP
Port = 50000
Database = TRAVEL
Username = db2inst1
Password = password
JDBC URL = jdbc:db2://<master 1 IP>:50000/TRAVEL
Connection Details for Mongo:
Connection type = Mongo
Host = Master1 IP (Use private IP, if it's on Fyre)
Port = 27017
Database = icpd_mongo
Username = mongodbuser
Password = password
JDBC URL = jdbc:ibm:mongodb://<master 1 IP>:27017;databaseName=icpd_mongo