Skip to content

Dev Environment Setup

bradens edited this page Mar 16, 2012 · 4 revisions

This guide will help you setup a development environment for Agilefant using Tomcat, MySQL, Ant and others.

#1. Install Eclipse http://www.eclipse.org/downloads/packages/

#2. Install Git

Windows

Install mysysgit http://code.google.com/p/msysgit/downloads/list (click the top one)

OSX

OSX intel installer http://code.google.com/p/git-osx-installer/downloads/list (click top link)

Linux

Git command line tools Run sudo apt-get install git from a terminal

#3. Install MySQL

Windows / Linux / OSX

  1. Get the installer here http://dev.mysql.com/downloads/mysql/ (select your os in the drop down)
  2. Run the installers.

#4. Ant

Windows

Download Ant

  1. unzip to a directory Referred to as from now on
  2. Run the following from a command line
  set ANT_HOME=<ANTDIR>
  set PATH=%PATH%;%ANT_HOME%\bin 

Linux

Download Ant

  1. Extract to a folder now referred to as
  2. Run the following from a terminal
  export ANT_HOME=<ANTDIR>
  export PATH=${PATH}:${ANT_HOME}/bin

#5. Tomcat

Windows, Linux, OSX

Install Tomcat

Tomcat 6: Bin:> catalina run

MySQL deploy database:

Run in Ant: create-ddl View console to find out where generated file is saved to.

create database agilefant;
grant all on agilefant.* to agilefant@localhost identified by 'agilefant'
use agilefant
source C:/Users/Sean/git/agilefant/build/create-db.ddl 
Clone this wiki locally