Skip to content
This repository has been archived by the owner on Feb 19, 2019. It is now read-only.

Commit

Permalink
Updated readme
Browse files Browse the repository at this point in the history
  • Loading branch information
mrflory committed Feb 19, 2012
1 parent ed91d8e commit 6185579
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions readme.mdown
Expand Up @@ -5,13 +5,14 @@ This application simulates pay-per-bid auctions for scientific experiments, whic

## Installation

You need a webserver like Apache, PHP 5 and a database like MySQL. Furthermore you need to download Symfony 1.4, which is not included in the download above, and place it in the `lib/vendor/symfony` folder. You can download Symfony here: http://www.symfony-project.org/installation . I used version 1.4.11 for my thesis but any 1.4.x version should work.
You need a webserver like Apache, PHP 5 and a database like MySQL. Furthermore you need to download Symfony 1.4, which is not included in the download above, and place it in the `lib/vendor/symfony` folder. You can download Symfony here: http://www.symfony-project.org/installation. I used version 1.4.11 for my thesis but any 1.4.x version should work.

To configure the database, please edit the `config/databases.yml` file and run the symfony task `$ php symfony doctrine:build --all --no-confirmation`. There is also some example data included via fixtures: `$ php symfony doctrine:data-load`.

To log into the backend you need a username and a password which can be added and changed in the `apps/backend/config/app.yml` file. The default username is admin with the password payperbid.

You have to configure your apache so that your url points to the web-folder. The software will not work inside sub-directories. Here is my apache config:

Listen 127.0.0.1:8082
<VirtualHost 127.0.0.1:8082>
ServerAdmin webmaster@localhost
Expand All @@ -21,15 +22,15 @@ You have to configure your apache so that your url points to the web-folder. The
AllowOverride All
Allow from All
</Directory>

Alias /sf /home/florian/public_html/bachelor/lib/vendor/symfony/data/web/sf
<Directory "/home/florian/public_html/bachelor/lib/vendor/symfony/data/web/sf">
AllowOverride All
Allow from All
</Directory>
</VirtualHost>

Once installed you should reach the frontend under [127.0.0.1:8082](127.0.0.1:8082) and the backend under [127.0.0.1:8082/backend.php](127.0.0.1:8082/backend.php). Sometimes it may help to call the development version: [127.0.0.1:8082/frontend_dev.php](127.0.0.1:8082/frontend_dev.php) and [127.0.0.1:8082/backend_dev.php](127.0.0.1:8082/backend_dev.php). You may also clear the cache with `$ php symfony cc` if you have any problems.
Once installed you should reach the frontend under [127.0.0.1:8082](http://127.0.0.1:8082) and the backend under [127.0.0.1:8082/backend.php](http://127.0.0.1:8082/backend.php). Sometimes it may help to call the development version: [127.0.0.1:8082/frontend_dev.php](http://127.0.0.1:8082/frontend_dev.php) and [127.0.0.1:8082/backend_dev.php](http://127.0.0.1:8082/backend_dev.php). You may also clear the cache with `$ php symfony cc` if you have any problems.

To stop auctions and for the automatic bidding bots a php script needs to be started in the background by the following command: `$ php lib/daemon.php`

Expand Down

0 comments on commit 6185579

Please sign in to comment.