Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

These instructions last updated Jully These instructions last updated Jully 17, 2013.  Fluxtream developers have successfully installed the pieces needed for Fluxtream development on Windows 7 (4 or 8 Gb of RAM), and on Windows XP.

...

   Download Windows Installer from http://nodejs.org/#download and follow the install instructions

Once node.js is installed, use the Node package manager to install less:The Windows Node.js installer by default will install the package manager and add its executable to the PATH variable.  This is exactly what we want.

Once node.js is installed, use the Node package manager to install less:

 

  npm install -g less

Checkout, set up, and build the datastore

...

-download mysql from http://www.mysql.com/downloads/mysql/
-use all default settings for installation
-be sure to configure root user
-Create and start a server instance on localhost:3306.  A good tutorial for this process is here.  Notice that if you have a non-empty root password you will need to click on the "Store in Vault" button during the "Database Connection" step to set the root password for the server instance or else you will get cryptic failures during the "Test DB Connection" step.

 

Create the flx database and import cities1000.sql

...

Add enviroment variables to each startup option setting TARGET_ENV=local
  -In the Startup/Connection tab of the first dialog for adding the Tomcat Server, do the following with each of the Run, Debug, and Coverage startup options in the top section selected:
    -Find the middle section under Pass environment variables
    -Click the + along the right edge 
    -Add TARGET_ENV as Name and local as value
    -Add JAVA_OPTS as -XX:MaxPermSize=256m -Xms256m -Xmx2048m -Djavax.servlet.request.encoding=UTF-8 -Dfile.encoding=UTF-8

Setup properties files

Copy the sample properties files to their real location:
 -Within your fluxtream-app directory, find the fluxtream-web/src/main/resources/ subdirectory.  Copy the .properties files from the samples subdirectory up one level into the resources directory.

...