OOAD Project for Spring 2016
In order to run the website locally...
-
Download the gwt sdk (http://www.gwtproject.org/download.html). After you have downloaded it, unzip the file and place unzipped contents in WebApp. Make sure the directory that you have unzipped is named "gwt".
-
Navigate to the WebApp directory and type the following command. ''' ant devmode '''
-
A pop up should come up with the status of GWT app. Select the option to launch in browser.
Follow the steps bellow in order to set up a database for use.
-
Make sure you have MySQL installed and working correctly.
-
Navigate to WebApp/util. If you have not already created a database, open MySQL and execute the following command:
CREATE DATABASE CodingCareers;
exit
- Execute the command:
./constructDB dbname username full_path_to_util_dir
e.g.
./constructDB CodingCareers root /home/user/4448/CodingCareers/WebApp/util
Do not include a / at the end of the util path. If the table in the database contains null entries for task instructinos and test code, follow the steps in constructDB to resolve permission errors.