forked from DataStax-Examples/astra-tik-tok
-
Notifications
You must be signed in to change notification settings - Fork 66
/
Copy path.gitpod.yml
31 lines (31 loc) · 830 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
24
25
26
27
28
29
30
31
tasks:
- name: workshop-astra-tik-tok
before: |
printf 'export PATH="$HOME%s:$PATH"\n' "/.astra/cli" >> $HOME/.bashrc
printf 'unset JAVA_TOOL_OPTIONS\n' >> $HOME/.bashrc
curl -Ls "https://dtsx.io/get-astra-cli" | bash >> ./install.log
cd /workspace/workshop-astra-tik-tok
nvm install 16.13.0
npm install -g npm@latest
npm install -g netlify-cli
npm install
command: |
source ~/.bashrc
echo "workshop-astra-tik-tok gitpod ready - LET'S DO THIS!"
gp open README.md
astra
github:
prebuilds:
master: true
branches: true
pullRequests: true
pullRequestsFromForks: false
addCheck: true
addComment: false
addBadge: true
addLabel: false
ports:
- port: 8888
onOpen: open-preview
- port: 3000
onOpen: ignore