Build Instructions (windows specific) prior to July 16, 2013

Download git for windows
http://git-scm.com/download/win
-configure to run git from command prompt
-checkout windows style line endings, commit unix-style line endings

Download IntelliJ Ultimate
http://www.jetbrains.com/idea/download/download_thanks.jsp
-import git project from https://github.com/fluxtream/fluxtream-app
-enable auto-import for maven project
-import git project from https://github.com/fluxtream/scribe-java.git

-build scribe-java project

MySQL setup
-download mysql from http://www.mysql.com/downloads/mysql/
-use all default settings for installation
-be sure to configure root user
-create databased labeled flx in table
-create table labeled cities1000
-run cities1000.sql

install tomcat
http://tomcat.apache.org/download-70.cgi
-download and install windows service version of tomcat
-disable tomcat's service from running at startup

Configure Tomcat Server in IntelliJ
-add new run configuration for a local tomcat server
-configure application server setting both home and base directories
to tomcat installation path
-add fluxtream-web:war exploded to deployment
-add enviroment variables to each startup option setting TARGET_ENV=local

Setting up property files
-obtain local.properties, common.properties, and oauth.properties
-place them in fluxtream-web/src/main/resource
-obtain GeoLiteCity.dat
-place it in root of fluxtream-app

Edit local.properites
-update mysql info for the correct username and password
-update geoIpDb.location to point to GeoLiteCity.dat location

Install Maven
http://maven.apache.org/download.html
-download and upack archive
-add the bin folder to the system's PATH variable
-add your jre installation directory to the system's JAVA_HOME variable
-run maven/install.bat

Run the project
-click the run button
-if you get errors about sdks, configure java sdk for the project
-you should now get the login page with a fully functional app