Skip to content

Commit

Permalink
Add CentOS based nodejs4 stack to default assembly
Browse files Browse the repository at this point in the history
Signed-off-by: Dharmit Shah <dshah@redhat.com>
  • Loading branch information
Dharmit Shah committed Apr 17, 2017
1 parent e9aafd7 commit 95836ea
Showing 1 changed file with 91 additions and 1 deletion.
92 changes: 91 additions & 1 deletion ide/che-core-ide-stacks/src/main/resources/stacks.json
Original file line number Diff line number Diff line change
Expand Up @@ -2416,6 +2416,7 @@
"attributes": {
"memoryLimitBytes": "2147483648"
},

"agents": [
"org.eclipse.che.terminal",
"org.eclipse.che.ws-agent",
Expand Down Expand Up @@ -2460,5 +2461,94 @@
"version": "3.3.9"
}
]
}
},
{
"id": "CentOS nodejs",
"creator": "Dharmit Shah",
"name": "CentOS nodejs",
"description": "CentOS Node Stack",
"scope": "advanced",
"tags": [
"CentOS",
"Git",
"Node.JS",
"NPM",
"Gulp",
"Bower",
"Grunt",
"Yeoman",
"Angular",
"Karma"
],
"components": [
{
"name": "Node.JS",
"version": "---"
},
{
"name": "NPM",
"version": "---"
},
{
"name": "Gulp",
"version": "---"
},
{
"name": "Bower",
"version": "---"
},
{
"name": "Grunt",
"version": "---"
},
{
"name": "Yeoman",
"version": "---"
}
],
"source": {
"type": "image",
"origin": "registry.centos.org/che-stacks/centos-nodejs"
},
"workspaceConfig": {
"environments": {
"default": {
"machines": {
"dev-machine": {
"attributes": {
"memoryLimitBytes": "2147483648"
},
"agents": [
"org.eclipse.che.terminal",
"org.eclipse.che.ws-agent",
"org.eclipse.che.ssh"
],
"servers": {},
}
},
"recipe": {
"location": "registry.centos.org/che-stacks/centos-nodejs",
"type": "dockerimage"
}
}
},
"name": "default",
"defaultEnv": "default",
"description": null,
"commands": [
{
"commandLine": "cd ${current.project.path} && scl enable rh-nodejs4 'node app/app.js'",
"name": "run",
"type": "custom",
"attributes": {
"previewUrl": "http://${server.port.8080}",
"goal": "Run"
}
}
]
},
"stackIcon": {
"name": "type-node.svg",
"mediaType": "image/svg+xml"
}
]

0 comments on commit 95836ea

Please sign in to comment.