Project

General

Profile

Deployment Guide - qiwi-updateOrder » History » Version 1

Soh Keong, 05/30/2012 05:32 PM

1 1 Soh Keong
h1. Deployment Guide - qiwi-updateOrder
2
3
*Step By Step*
4
5
1. Check out qiwi-updateOrder from cvs.
6
2. Make sure all 3 configuration files are correct
7
<pre>
8
  a. jdbc.properties - database configuration
9
  b. log4j.properties - Logger
10
  c. qiwi.properties - 
11
    I) excel.file     = excel file physical location
12
   II) sheet.name     = worksheet name (example: REGEN BILL)
13
  III) qiwi.url       = URL to http post to qiwi
14
   IV) qiwi.sql.query = sql statement to update
15
</pre>
16
*3. FOR PRODUCTION ONLY* 
17
<pre>
18
search for 'httpPost(url)' in TriggerQiwi.java and uncomment it.
19
</pre>
20
4. Right click on 'build.xml', --> Run As --> Ant Build
21
5. To execute the program. 
22
<pre>
23
1. Open command prompt, 
24
2. go into dist folder, 
25
3. type 'java -jar qiwi-updateOrder.jar'.
26
</pre>