Skip to content

Instantly share code, notes, and snippets.

@sparkoo
Created August 22, 2019 14:39
Show Gist options
  • Save sparkoo/5c93dd4016d885e3896e9e22fa3b676d to your computer and use it in GitHub Desktop.
Save sparkoo/5c93dd4016d885e3896e9e22fa3b676d to your computer and use it in GitHub Desktop.
---
apiVersion: 1.0.0
metadata:
name: this_is_name
generateName: this_is_genname-
projects:
-
name: angular-realworld-example-app
source:
type: git
location: "https://github.com/gothinkster/angular-realworld-example-app"
components:
-
type: chePlugin
id: che-incubator/typescript/latest
-
type: dockerimage
alias: nodejs
image: quay.io/eclipse/che-nodejs10-community:nightly
memoryLimit: 1Gi
endpoints:
- name: 'angular'
port: 4200
mountSources: true
commands:
- name: yarn install
actions:
- type: exec
component: nodejs
command: yarn install
workdir: ${CHE_PROJECTS_ROOT}/angular-realworld-example-app
-
name: build
actions:
- type: exec
component: nodejs
command: yarn run build
workdir: ${CHE_PROJECTS_ROOT}/angular-realworld-example-app
-
name: start
actions:
- type: exec
component: nodejs
command: yarn run start --host 0.0.0.0 --disableHostCheck true
workdir: ${CHE_PROJECTS_ROOT}/angular-realworld-example-app
-
name: lint
actions:
- type: exec
component: nodejs
command: yarn run lint
workdir: ${CHE_PROJECTS_ROOT}/angular-realworld-example-app
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment