steven7woo / gte

Game Theory Explorer: Build, explore and solve extensive form games.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

4. 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])	

5. 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 <project root directory> (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 gte
(currently requires megesdal's credentials... send email to megesdal@gmail.com to request a deployment)

About

Game Theory Explorer: Build, explore and solve extensive form games.


Languages

Language:Java 77.1%Language:ActionScript 22.9%