Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/bfv/openedge-devcontainer
VSCode devcontainer for OpenEdge Proof of Concept
https://github.com/bfv/openedge-devcontainer
Last synced: 5 days ago
JSON representation
VSCode devcontainer for OpenEdge Proof of Concept
- Host: GitHub
- URL: https://github.com/bfv/openedge-devcontainer
- Owner: bfv
- License: gpl-3.0
- Created: 2024-01-12T13:58:48.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-10-28T08:36:27.000Z (3 months ago)
- Last Synced: 2024-10-28T10:39:22.677Z (3 months ago)
- Language: Apex
- Size: 184 KB
- Stars: 0
- Watchers: 1
- Forks: 2
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-openedge-abl - bfv/openedge-devcontainer - VSCode devcontainer for OpenEdge Proof of Concept (IDE / dev containers)
README
# openedge-devcontainer
VSCode devcontainer for OpenEdge Proof of Concept.## Setup VSCode
In order for this to work just one extension needs to be installed:![devcontainers extension](./images/extension.png)
## OpenEdge License
This particular setup uses OpenEdge 12.8. It's in a Docker container hosted on Docker Hub.
This is BYOL (bring your own license) and it this you just need a `progress.cfg` with a Linux 4GL Dev system in it (and whatever the requirement of the containers you add).
Put `progess.cfg` in the `oe-license` folder. If you want to put it in another location, set this in `.devcontainer/.env`## start
There are two routes to start.
- Clone this repo locally and start from there
- Clone in a Docker volume (difficult with licenses)Right now we take the first route, it's easier for demonstrations.
so, assuming you are IN the directory in which you want to put the clone:
```
git clone https://github.com/bfv/openedge-devcontainer.git .
```then start VSCode:
```
vscode .
```If you wait a few moments this shows up:
![choose option "reopen in container"](./images/start-options1.png)## running OpenEdge in the devcontainer
IN `devcontainer.json` an extra extry have been added:
```
"formulahendry.code-runner"
```
This manifests itself like:
![run button](./images/run-button-vscode.png)To check if everything works, on the host:
```
curl http://localhost:8810/web/api/get
curl http://localhost:8810/web/api/customers
```