From e6c34c61bc8e5682d06e29929eb912b221016446 Mon Sep 17 00:00:00 2001 From: Akilan1999 Date: Wed, 29 May 2019 13:40:57 +0400 Subject: [PATCH] INSTALLATION.md --- INSTALLATION.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/INSTALLATION.md b/INSTALLATION.md index 11e3cd3..a8679b1 100644 --- a/INSTALLATION.md +++ b/INSTALLATION.md @@ -5,7 +5,7 @@ 2. NPM 3. MySQL -### 2. Clone the repo +## 2. Clone the repo ```bash git clone https://github.com/Akilan1999/Centralized_IOE.git ``` @@ -13,7 +13,7 @@ Navigate to the directory ```bash cd Centralized_IOE/ ``` -### 3. Add your sql username and password +## 3. Add your sql username and password Navigate to config/database.js ```javascript @@ -25,7 +25,7 @@ var connection = mysql.createConnection({ }); ``` -### 4. Adding the sql database to your localhost +## 4. Adding the sql database to your localhost 1. Login to SQL ```bash @@ -47,19 +47,19 @@ Ex: This is for adding batteries mysql> insert into battery_info values(0,2,'POWERWALL 1','Solar City',500,300); mysql> insert into battery_info(user_id,model_no, manufacturing_company,Storage,Current_power) values(2,'POWERWALL 2','Solar City',500,500); ``` -### 5. Start server +## 5. Start server ```sql node app.js ``` URL: http://localhost:8003 -### 6. Login with the username and password in the DB. +## 6. Login with the username and password in the DB. If successful this should be your home page -### 7. SQL Er-Diagram +## 7. SQL Er-Diagram Note : The password is not hashed.