Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 8 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@ While you might not be familiar with these tools, don't worry - this is a one ti
1) git client - We uploaded everything to GitHub, using git you'll be able to pull everything to your workstation.
2) docker - Your very own DataPower instance will run on top of docker.

__The instructions presented here assume you are using Windows 7/8:__
_______
__Only for Windows 7/8 (and not later):__
DockerToolbox provides us a virtual machine that runs docker on top of it.
Download DockerToolbox from here: https://download.docker.com/win/stable/DockerToolbox.exe

Expand All @@ -22,16 +23,17 @@ Execute the following command:
docker-machine create --virtualbox-cpu-count "3" --virtualbox-memory "4096" boot2docker
docker pull ibmcom/datapower:7.5.2.8.289749
```
_______

We created a special IDE so it'll be a lot more fun to develop with :)
```
git clone https://github.com/Tangram-Soft/dpanda.ide.git
```

once git is done, run the following:
once git is done, run the following in PowerShell:
```
cd dpanda.ide
docker create -it -v %cd%:/drouter/config -v %cd%/local:/drouter/local -p 9090:9090 -p 9080:9080 -p 22:22 -p 8000-8010:8000-8010 -p 5550:5550 -p 5554:5554 -e DATAPOWER_ACCEPT_LICENSE=true -e DATAPOWER_INTERACTIVE=true --name idg.dpanda ibmcom/datapower:7.5.2.8.289749
docker create -it -v $PWD/config:/drouter/config -v $PWD/local:/drouter/local -p 9090:9090 -p 9080:9080 -p 22:22 -p 8000-8010:8000-8010 -p 5550:5550 -p 5554:5554 -e DATAPOWER_ACCEPT_LICENSE=true -e DATAPOWER_INTERACTIVE=true --name idg.dpanda ibmcom/datapower:7.5.2.8.289749
docker start idg.dpanda
```

Expand All @@ -41,6 +43,8 @@ switch dpanda;co;crypto;keygen CN dpanda-gui rsa 2048 gen-sscert;exit;exit;switc
user dpanda;access-level privileged;password dpanda;suppress-password-change;exit
```

Go to https://[docker-machine ip]/dpanda/webIDE.html
After logging in, enable GUI via Configure Crypto Certificate and Configure Crypto Key. These pages can be reached by searching crypto in the navigation bar. In each menu's dpanda-gui entry, set Administrative state to 'disabled', then re-select 'enabled' and Apply.

Now we can begin!
Go to https://[docker-machine ip]/dpanda/webIDE.html
Default localhost is 127.0.0.1, and port is set to 9080.