Files
004_comission/tsc1877/task1/project/README.md
louiscklaw 5c584709c4 update,
2025-01-31 20:14:02 +08:00

76 lines
1.2 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# README
### to develop
```bash
$ ./dc_up.sh
# inside docker prompt
$ ./entry.sh
```
### to deploy
```bash
$ ./dc_kill.sh
$ ./dc_down.sh
$ ./dc_up.sh
# inside docker prompt
$ ./entry.sh
```
### pages:
```
# https://secure.s34.ierg4210.ie.cuhk.edu.hk/
# shopfront
http://13.50.75.106/shopfront
# customer login
http://13.50.75.106/shopfront/login
# admin
http://13.50.75.106/admin
# admin login
http://13.50.75.106/admin/login
```
### test a/c
#### Admin account
admin@vtkhmall.com
nimda
#### customer 1 account
cust1@vtkhmall.com
1tsuc
#### customer 2 account
cust2@vtkhmall.com
2tsuc
### paypal a/c
i. A merchant account Email and Password
sb-j4nbw29912003@business.example.com
X<LqO7Sb
ii. A buyer account Email and Password
sb-b00gb30304504@personal.example.com
4s@0f>IE
b. Create a sandbox application linked to the merchant account:
i. an application Client ID
https://developer.paypal.com/dashboard/accounts/edit/4829534511909691981?accountName=sb-j4nbw29912003@business.example.com
helloworld
Client ID
AQT5-eAKNK7IhAhBGlbHBu_9jBx74ZLCfEioKUWQMXMuMmLcnffmpoUz_z-ewOuKZmpSlDk74UtlH58O
Secret key 1
EMtwOzHACol7Tx8NHOa3eV3TPu2AerZEunJ3MBZfYYcxPeUDy-TNLqqcdL0UDQsrHMpQKeCRPcjKnwNy