Last active
August 22, 2019 14:38
-
-
Save sparkoo/9f9207044782022a17374adcf6af2c6a to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
apiVersion: 1.0.0 | |
metadata: | |
name: this_is_just_name | |
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