Skip to content

Latest commit

 

History

History
28 lines (23 loc) · 594 Bytes

README.md

File metadata and controls

28 lines (23 loc) · 594 Bytes

Running locally

Prerequisites

  • IBM Account

Instructions

  1. Set up Cloudant in IBM Cloud

  2. Inside the config/default.json file, replace the following details

  "database": {
    "dbName": "idin_db",
    "cloudantId": "<username>",
    "cloudantApiToken": "<apiKey>"
  }
  1. Run npm start

Deploying to IBM Cloud Foundry

  1. Configure the config/production.json with your cloudant credentials

  2. Deploy the app

ibmcloud login
ibmcloud target --cf
cd idin-server
ibmcloud app push