forked from SuperAmerica/agilefant
-
Notifications
You must be signed in to change notification settings - Fork 5
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
Install mysysgit http://code.google.com/p/msysgit/downloads/list (click the top one)
OSX intel installer http://code.google.com/p/git-osx-installer/downloads/list (click top link)
Git command line tools
Run sudo apt-get install git
from a terminal
#3. Install MySQL
- Get the installer here http://dev.mysql.com/downloads/mysql/ (select your os in the drop down)
- Run the installers.
#4. Ant
- unzip to a directory Referred to as from now on
- Run the following from a command line
set ANT_HOME=<ANTDIR>
set PATH=%PATH%;%ANT_HOME%\bin
- Extract to a folder now referred to as
- Run the following from a terminal
export ANT_HOME=<ANTDIR>
export PATH=${PATH}:${ANT_HOME}/bin
#5. Tomcat
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