wip: E-mandate home screen
This commit is contained in:
@@ -5,14 +5,46 @@
|
||||
- Download **AWS Session Manager Plugin**
|
||||
- Generate **Key for KCCB**
|
||||
|
||||
____________________________________________________________
|
||||
### Production: (Run in systemctl)
|
||||
- cd /etc/systemd/system
|
||||
<!-- IB is the service name -->
|
||||
- vi IB.service
|
||||
```
|
||||
[Unit]
|
||||
Description= Internet Banking Frontened Application in Node
|
||||
After=network.target
|
||||
|
||||
[Service]
|
||||
# Use absolute path for node or npm
|
||||
User=ib
|
||||
Group=ib
|
||||
ExecStart=/usr/bin/npm start
|
||||
WorkingDirectory=/home/ib/IB
|
||||
Restart=on-failure
|
||||
RestartSec=5
|
||||
Environment=NODE_ENV=production
|
||||
Environment=PORT=3000
|
||||
SuccessExitStatus=143
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
|
||||
<All value are changed as per domain>
|
||||
```
|
||||
- sudo systemctl status IB
|
||||
- sudo systemctl start IB
|
||||
- sudo systemctl stop IB
|
||||
- sudo systemctl restart IB
|
||||
|
||||
---
|
||||
|
||||
## Machine
|
||||
```bash
|
||||
|
||||
UAT (IB- frontend) : i-0b55435e15425f1c3
|
||||
Linux : i-0c850dcf8b85b1447
|
||||
Prod : i-088e64c3435cb5078
|
||||
UAT (IB- frontend Test) : i-0b55435e15425f1c3
|
||||
Linux : i-0c850dcf8b85b1447 (Test)
|
||||
Prod : i-088e64c3435cb5078 (For IB & MB)
|
||||
```
|
||||
|
||||
## 2. Port Forwarding
|
||||
|
||||
Reference in New Issue
Block a user