-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy path.gitpod.yml
23 lines (21 loc) · 928 Bytes
/
.gitpod.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
tasks:
- before: npm install -g @angular/cli
init: |
cd /workspace/adyen-angular-online-payments/node-api && npm install
cd /workspace/adyen-angular-online-payments/checkout && npm install
command: |
if [ -z ${ADYEN_HMAC_KEY+x} ] || [[ -z ${ADYEN_API_KEY+x} ]] || [[ -z ${ADYEN_CLIENT_KEY+x} ]] || [[ -z ${ADYEN_MERCHANT_ACCOUNT+x} ]]; then
echo "Expected environment variables not found. Please set the ADYEN_HMAC_KEY, ADYEN_API_KEY, ADYEN_CLIENT_KEY, ADYEN_MERCHANT_ACCOUNT environment variables and rerun session https://gitpod.io/variables."
else
cd /workspace/adyen-angular-online-payments/checkout && npm run build
cd /workspace/adyen-angular-online-payments/node-api && npm start
fi
# exposed ports
ports:
- port: 8080
onOpen: open-preview
visibility: public
vscode:
extensions:
- esbenp.prettier-vscode
- dbaeumer.vscode-eslint