generated from ExamProCo/aws-bootcamp-cruddur-2023
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.gitpod.yml
47 lines (45 loc) · 1.29 KB
/
.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
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
tasks:
- name: aws-cli
env:
AWS_CLI_AUTO_PROMPT: on-partial
init: |
cd /workspace
curl "https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip" -o "awscliv2.zip"
unzip awscliv2.zip
sudo ./aws/install
cd $THEIA_WORKSPACE_ROOT
- name: react-js
command: |
cd frontend-react-js
npm i
- name: app.py-1
command: |
cd backend-flask
pip install Flask
- name: app.py-2
command: |
cd backend-flask
pip install Flask_cors
- name: app.py-3
command: |
cd backend-flask
pip aws-xray-sdk
- name: app.py-4
command: |
cd backend-flask
pip requirements.txt
- name: workspace
command: |
cd /workspace/aws-bootcamp-cruddur-2023
- name: postgres
init: |
curl -fsSL https://www.postgresql.org/media/keys/ACCC4CF8.asc|sudo gpg --dearmor -o /etc/apt/trusted.gpg.d/postgresql.gpg
echo "deb http://apt.postgresql.org/pub/repos/apt/ `lsb_release -cs`-pgdg main" |sudo tee /etc/apt/sources.list.d/pgdg.list
sudo apt update
sudo apt install -y postgresql-client-13 libpq-dev
command: |
export GITPOD_IP=$(curl ifconfig.me)
source "THEIA_WORKSPACE_ROOT/backend-flask/bin/rds-update-sg-rule"
vscode:
extensions:
- 42Crunch.vscode-openapi