Feat : Api integrate on login screen, set login password and set transaction password screen
This commit is contained in:
21
instruction.txt
Normal file
21
instruction.txt
Normal file
@@ -0,0 +1,21 @@
|
||||
- download Aws cli and Aws session manager
|
||||
- Key generate for KCCB
|
||||
- port forwarding :
|
||||
|
||||
aws ssm start-session --target i-0c850dcf8b85b1447 --document-name --profile kccb AWS-StartPortForwardingSession --parameters "portNumber"=["8080"],"localPortNumber"=["8080"]
|
||||
|
||||
- run the api in localhost
|
||||
aws ssm start-session --target i-0c850dcf8b85b1447 --document-name --profile kccb AWS-StartPortForwardingSession --parameters "portNumber"=["5432"],"localPortNumber"=["5431"]
|
||||
|
||||
______________________________________________________________________
|
||||
|
||||
For database:
|
||||
- aws ssm start-session --target i-0c850dcf8b85b1447 --profile kccb
|
||||
- psql -U postgres
|
||||
- \l
|
||||
- psql -U kmobile_db_owner -d kmobile_banking
|
||||
- password : kmobile
|
||||
- SELECT * FROM users;
|
||||
- \x
|
||||
- \d users; -- see the data type of column
|
||||
- \c kmobile_banking kmobile_app_rw -- alter the user
|
Reference in New Issue
Block a user