forked from rohitg00/RC4Community
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.gitpod.yml
56 lines (53 loc) · 1.28 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
51
52
53
54
55
56
tasks:
- name: Initialize Backend
init: |
docker pull fauna/faunadb:4.15.0
command: |
sh gitpod-scripts/startCloudDevBackend.sh
gp sync-done Initialization_of_Backend
- name: Initialize Next.js App
init: |
cd app
npm i
cd ..
command: |
gp sync-done Initialization_of_NextJS_Packages
gp ports await 1337 && gp open app/components/brandlogo.js
- name: Initialize Strapi App
init: |
cd cms
npm i
npm run build
cd ..
command: sh gitpod-scripts/startCloudDevStrapi.sh
- name: Start build
command: |
printf "⚡️ Please wait while we're initializing these tasks for you... ⚡️\n"
gp tasks list
printf "\n"
gp sync-await Initialization_of_NextJS_Packages &&
sh gitpod-scripts/startCloudDevEnv.sh
ports:
- port: 3000
onOpen: open-preview
name: RC4Community
description: Next.js app for RC4Community
- port: 1337
onOpen: notify
name: Strapi
description: Strapi Dashboard
- port: 8084
onOpen: ignore
- port: 8444
onOpen: ignore
- port: 8443
onOpen: ignore
github:
prebuilds:
master: true
branches: true
pullRequests: true
pullRequestsFromForks: true
addCheck: true
addComment: true
addBadge: true