Home > GTE-Web

GTE-Web

GTE-Web is a project mainly written in JAVA and ACTIONSCRIPT, it's free.

GTE

I. PREREQUISITES

  1. Install Java SDK (not just JRE) ===WINDOWS=== 1.1 Download - http://www.oracle.com/technetwork/java/javase/downloads/ 1.2 Add bin directory to path 1.3 Add JAVA_HOME environment variable (makes sure it points to the SDK, not JRE) ===LINUX=== $ sudo apt-get install sun-java6-jdk

  2. Install Apache Ant ===WINDOWS=== 2.1 Download archive - http://ant.apache.org/ 2.2 Add bin directory to path
    2.3 Add ANT_HOME environment variable (might not be necessary) ===LINUX=== $ sudo apt-get install ant

  3. Install Adobe Flex SDK (NOT Open Source Flex SDK) 3.1 Download archive - http://opensource.adobe.com/wiki/display/flexsdk/Download+Flex+4 3.2 Add bin directory to PATH (.bashrc in Linux, System->Advanced->Environment Variables in Windows)

3b. Install "gflashplayer" (Linux only) 3b.1 cd {FLEX_HOME}/runtimes/player/10.1/lnx 3b.2 tar -zxvf flashplayerdebugger.tar.gz 3b.3 ln -s ./flashplayerdebugger ./gflashplayer 3b.4 Add directory from [3b.1] to PATH

  1. Install the Google AppEngine SDK (for Java) 4.1 Download archive - http://code.google.com/appengine/downloads.html 4.2 Add bin directory to PATH (see [3])

  2. Update build.properties file for your environment 5.1 Update FLEX_HOME with root directory of Flex SDK (not bin) 5.2 Update GAE_HOME with root directory of Google AppEngine SDK (not bin) 5.3 (Windows only) Make sure to switch all path separators from "\" to "/"

II. BUILD

Open terminal: $ cd (location of this README) $ ant You should see the build.xml script being executed.

III. DEV SERVER

After building: $ cd build $ dev_appserver.sh gte The server should now be running at http://localhost:8080/

IV. DEPLOYMENT

From build dir: $ appcfg.sh update gte