Internship2Career:2011 Spring Installation Manual

This is a developers guide on how to set up the internship2career project on a local machine.

Software needed to install project:

 * Download and install TortoiseSVN here: http://tortoisesvn.net/
 * Download and install Netbeans here: http://netbeans.org/
 * XAMPP: If you need instructions for installing this please refer to http://foss.unh.edu/opencomputing/index.php/XAMPP
 * Once installed, run, make sure both Apache and MySQL are started.
 * Navigate to the XAMPP folder and open the htdocs folder
 * Create a folder called i2c
 * Right click on the folder and click "SVN Checkout"
 * You will get a pop-up that looks like this:
 * Fill it out with the corresponding information. The link of the repository is derived from the Google Code site; source
 * That will download all of the files from the repository into that folder.
 * Open Netbeans
 * Create new project
 * Select new project from "Existing Sources". Select xampp/htdocs/i2c and that will open the project.

Using PHP Files
We first need to create the database. cd ../../xampp/mysql/bin C:\xampp\mysql\bin>mysql -u root Note: If you have a password on MySQL for whatever reason add -p after root and type in your password. create database i2c;
 * Open Command Prompt
 * Navigate to MySQL in XAMPP
 * Open MySQL:
 * Create database

After that we can run the dbInstall.php and dbInstallSandbox.php files. Open your browser and put these URLs in: dbInstall: localhost/i2c/db-control/dbInstall.php dbInstallSandbox: http://localhost/i2c/db-control/inc/dbInstallSandbox.php Each file should notify you that you created the tables and added information to the database.

Using SQL Scripts
cd ../../xampp/mysql/bin C:\xampp\mysql\bin>mysql -u root Note: If you have a password on MySQL for whatever reason add -p after root and type in your password.
 * Open Command Prompt
 * Navigate to MySQL in XAMPP
 * Open MySQL:
 * Run the scripts
 * Create database and user: mysql> source ../../htdocs/i2c/sqlcode/i2c_create_db_and_user.sql
 * Create tables: mysql> source ../../htdocs/i2c/sqlcode/i2c_create_tables.sql
 * Insert sample data into database: mysql> source ../../htdocs/i2c/sqlcode/i2c_create_insert.sql