diff --git a/README.md b/README.md index 6c0a19e..f653c5d 100644 --- a/README.md +++ b/README.md @@ -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 @@ -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 ``` @@ -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.