-
Notifications
You must be signed in to change notification settings - Fork 53
Home
Welcome to the gwt-d3 wiki!
-
Fork/Clone Local Repository to PC
-
Log into Eclipse make sure you have the Maven Plugin installed
- (to install Maven plugin, go to Help > Install New Software > type in this link: http://download.eclipse.org/technology/m2e/releases
- make sure to have "Contact all update sites during install to find required software" checked
-
Once installed, go to File > Import > Maven > Existing Maven Projects
-
Navigate to root of local repository gwt-d3
-
Begin to import (it should start going through the POM.xml and may take a minute or two)
-
After the projects have been successfully imported, you should have three folders in your Project Explorer: gwt-d3-api, gwt-d3-demo, gwt-d3-ui
-
Right-click on gwt-d3-demo, go to Properties > Google > App Engine and check "Use Google App Engine" with default SDK selected. Do the same for Web Toolkit and check "Use Web Toolkit" but leave the specific SDK selected (it should be populated with something like \m2\repository\com\gwt - 2.51)
-
Right above Web Toolkit, go to Web Application and check "This project has a WAR directory" and navigate your way to src/main/webapp. "webapp" is the WAR directory you want to select.
-
Finally, go back to your project explorer and go to gwt-d3-demo > src > main > webapp. In there should be a D3Demo.html. Right-click it and to go Run As > Web Application. Make sure Development Mode is turned on and wait for it to load. A link will appear that looks something like this: http://127.0.0.1:8888/D3Demo.html?gwt.codesvr=127.0.0.1:9997. Right click the link and hit Open. After a few moments, it should load with the demos.
NOTE: This demo can also be viewed at http://gwt-d3.appspot.com/