https://github.com/dharmit/centos-che-stacks
CentOS Che Stacks
https://github.com/dharmit/centos-che-stacks
Last synced: 5 months ago
JSON representation
CentOS Che Stacks
- Host: GitHub
- URL: https://github.com/dharmit/centos-che-stacks
- Owner: dharmit
- Created: 2016-08-30T04:49:35.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2016-09-27T09:57:32.000Z (over 9 years ago)
- Last Synced: 2025-04-04T21:14:19.715Z (about 1 year ago)
- Size: 2.93 KB
- Stars: 1
- Watchers: 2
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Introduction
============
This repo contains `stacks.json` that one can append to existing file with same
name in order to get additional stacks for use in Eclipse Che IDE.
How to add custom stacks to Eclipse Che?
========================================
TL;DR: Append the contents of `stacks.json` to existing `stacks.json` file
created by Eclipse Che.
Follow below instructions for details on how to start Eclipse Che and append
the `stacks.json` file to it.
- Start Eclipse Che with the help of eclipse/che Docker image:
```
$ docker run --rm -t -v /var/run/docker.sock:/var/run/docker.sock registry.centos.org/eclipse/che-launcher start
```
- Above command would create a new user called `user` and place Che related
files under /home/user/che directory.
- If you don't see files there, try restarting or stopping the che-server
container.
- `stacks.json` can be found under `/home/user/che/storage/stacks.json`.
Append `stacks.json` in this repo to that file.
- Now start Eclipse Che with the codenvy/che-server Docker image:
```
$ docker run --net=host \
--name che \
-v /var/run/docker.sock:/var/run/docker.sock \
-v /home/user/che/lib:/home/user/che/lib-copy \
-v /home/user/che/workspaces:/home/user/che/workspaces \
-v /home/user/che/storage:/home/user/che/storage \
registry.centos.org/eclipse/che-server
```
- Hit [http://localhost:8080](http://localhost:8080) in your browser and you
should see the Eclipse Che IDE running. There won't be any
projects/workspaces in their yet.
- Click on "Workspaces" in the navigation pane on the left. Click on "+" icon
at top-right of the screen.
- Under "Select Stack" section, click on "Stack Library". You should see the
custom stacks that you created.