-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
DEPLOY.txt
63 lines (39 loc) · 1.54 KB
/
DEPLOY.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
HOW TO DEPLOY THE APPLICATION SERVER?
-------------------------------------
WITH DOCKER (RECOMMENDED)
1. Make sure you have installed docker and docker-compose
2. Execute the following commands:
- cd ./script
- ./BUILD.sh
- ./RUN.sh
3. To enter the container execute:
- docker exec -it ciso8583_ots_a bash
3. To stop the container execute:
- ./STOP.sh
4. To clean all the environment execute:
- ./CLEAN.sh
Custom:
* If you want to run the program with docker or podman in DETACH mode, you only have to execute the following command:
- ./RUN.sh -d
* To add any other DOCKER flags:
- ./RUN.sh -d --rm
Notes:
- If you are Mac user, you must to change ./RUN.sh file and replace the following line:
- docker run -d -it --name $container_name --network=host -v ciso8583_ots_a_logs:/opt/Ciso8583/log $container_name
to
- docker run -d -it --name $container_name -p 9101:9101 -v ciso8583_ots_a_logs:/opt/Ciso8583/log $container_name
WITH PODMAN:
1. READ THE DOC PODMAN.txt
WITH NATIVE INSTALLATION
1. Make sure you have installed this dependencies:
- gcc
- make
2. Execute the following commands:
- make clean
- make
3. The application server will be compiled following path:
- ~/dist/ciso8583
4. Execute the program:
- ~/dist/ciso8583
5. You will see the logs in the following path:
- /opt/Ciso8583/logs/Ciso8583.log