-
Notifications
You must be signed in to change notification settings - Fork 1
/
.gitpod.yml
50 lines (44 loc) · 1.06 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
48
49
50
image:
file: .gitpod.Dockerfile
tasks:
- name: Readme
init: gp open README.md
command: exit
- name: MySQL
command: /etc/mysql/mysql-bashrc-launch.sh
- name: Seed
init: |
gp ports await 3000
npm run seed
command: exit
- name: App
init: |
npx -y yarn install
gp ports await 3306
mysql -u root -e "CREATE USER 'conduit'@'localhost' IDENTIFIED WITH mysql_native_password BY 'conduit'"
mysql -u root -e "CREATE DATABASE conduit"
mysql -u root -e "GRANT ALL PRIVILEGES ON conduit.* TO 'conduit'@'localhost'"
command: gp ports await 3306 && npm start
env:
NX_DAEMON: false
ports:
- port: 4200
visibility: public
onOpen: notify
- port: 3306
visibility: public
onOpen: ignore
- port: 3000
visibility: public
onOpen: ignore
- port: 9229
onOpen: ignore
- port: 8828
onOpen: ignore
vscode:
extensions:
- cweijan.vscode-mysql-client2@4.3.0
- esbenp.prettier-vscode
- dbaeumer.vscode-eslint
- caponetto.vscode-diff-viewer
- eamodio.gitlens