Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Next »

Prerequisites

  1. Node.js - Click to download

  2. MySQL - Click to download

  3. Any Code Editor.

Steps to run on the local system

A step by step series of examples that tell you how to get a development environment running.

Step 1. Clone Ayu repository

https://github.com/Intelehealth/mindmap-api

Step 2. Install all the dependencies.

npm install

Running this step will install all the required libraries and dependencies on your system.

Step 3. Restore the backup to MySQL database.

This will create mindmap schema.

Step 4. Adding necessary files to the code.

1. Create a file named license.json inside public/license/

{"licensekey":[]}

2. Create a file named setting.json inside public/javascripts/mysql/

{ "host" : "localhost", "user" : ${database_username}, "password" : ${database_password}, "database" : "mindmap_server" }

Step 5. Start the server

npm start

This will start the live server on your local machine.

Step 6. To run

localhost:3004

Open this link on the browser and you are good to go!

  • No labels