From 793d81f007e025549761648449c97fe89feb8697 Mon Sep 17 00:00:00 2001
From: Siranjeevi K <siranjeevi.kgsa@gmail.com>
Date: Mon, 1 Jan 2018 14:17:53 +0530
Subject: [PATCH] running instructions

---
 README.md | 22 +++++++++++++++++++++-
 1 file changed, 21 insertions(+), 1 deletion(-)

diff --git a/README.md b/README.md
index 1854a27..3930896 100644
--- a/README.md
+++ b/README.md
@@ -5,4 +5,24 @@ Script used by Planning and resources committee for generating ID cards.
 ## Dependencies
 
 + xlrd (python library to handle MS Excel files)
-+ Adobe photoshop
\ No newline at end of file
++ Adobe photoshop
++ Python 2.7
+
+## How to run the script?
+
++ Put all the photos into photos directory. Name of the file of the photo is the
+  name on the id card. ('Jane Doe.jpg' -> name on ID = Jane Doe)
+
++ Run the cmd.txt, it generates ExcelScript\PR.xlsx file. Fill in the rest of the file.
+
++ Run excel1.py, it generates
+  - 'ExcelScript\files\dept.txt'
+  - 'ExcelScript\files\names.txt'
+  - 'ExcelScript\files\photo_id.txt'
+  - 'ExcelScript\files\roles.txt'
+
++ Connect 'PhotoID.jsx' to Adobe photoshop, run it. It generates 'outputs/psd/Jane Doe.psd'
+
++ Adjust the layers and pictures properly with photoshop for example 'outputs/psd/Jane Doe.psd'
+
++ Connect 'Save.jsx' to Adobe photoshop, run it. It generates 'outputs/id/Jane Doe.jpg'
-- 
GitLab