1) Follow instructions from Symfony (http://symfony.com/doc/current/book/installation.html). Take note of the location where you install symfony to, we will need that later. Usually, the location will be '/var/www/html/Symfony'.

2) Unpack tar archive 'front_end.tgz'. This is a compressed tar archive.

3) Recursively copy the 'src' directory from the archive and overwrite the 'src' directory under the root of the symfony installation.

4) Recursively copy the 'web' directory from the archive and overwrite the 'web' directory under the root of the symfony installation.

4) Recursively copy the 'app' directory from the archive and overwrite the 'app' directory under the root of the symfony installation.

5) Install and bring online a local MySql server. For the purpose of this demo, we will be leaving the 'root' password blank, and letting the application access the DB via the 'root' user. Normally this is bad practice, and in a real world live production environment, would not be done.

6) If you set a 'root' password on the MySql database, change the the "database_password" field in '<symfony root>/app/config/parameters.ini' file. If you did not change it, move to step 7.

7) Create a database called 'thestockhop' in MySql.

8) Import 'thestockhop.sql' into the database. Change directory to the root of your symfony install, run 'php app/console doctrine:generate:entities RU' to prepare entities.

9) Make sure your apache config does not have 'AllowOverride All' for the symfony server or at the very least, make sure '.htaccess' files are not accepted.

10) Restart your apache server if changed were made per step 9.

11) From your web browser go to 'http://<your server>/Symfony/web/app_dev.php', where <your server> is the hostname or IP of the server you have installed The StockHop on. At this point, you should be greeted with The StockHop's home page for unauthenticated users. Either create a new account, or use username:'user' password:'user1' to log in and start using the web interface.

12) In the file 'eod.cron' in the archive, replace '<symfony root>' with the path to your symfony installation. Then move this file to the '/etc/cron.d/' directory.

13) In the file 'rank.cron' in the archive, replace '<symfony root>' with the path to your symfony installation. Then move this file to the '/etc/cron.d/' directory.
