Sophie

Sophie

distrib > Fedora > 13 > x86_64 > by-pkgid > b8c0355069bd4f19be6865cfb80c8b58 > files > 6

poker-web-1.7.3-3.fc12.noarch.rpm

To get the web interface running you must create a "currency_one" database and
a "currency" user that has full access to it.  The default password for the
currency user is "currency".

mysql> CREATE DATABASE currency_one;
mysql> CREATE USER 'currency'@'%' IDENTIFIED BY 'currency';
mysql> CREATE USER 'currency'@'localhost' IDENTIFIED BY 'currency';
mysql> GRANT ALL ON currency_one.* TO currency;
mysql> FLUSH PRIVILEGES;

You must also restart apache to read in the poker-web.conf httpd configuration
file.

bash# /sbin/service httpd restart

NOTE: currency types are directly related to the URL used to cash-in.  In order
for two people to have the same currency type to play each other, they must use
the same URL for cashing in.

For example, Joe sets up his server and cashes in using the web URL
http://localhost/poker-web.  Joe then invites his friend Sarah to play along
and gives Sarah his IP address. Sarah cashes in using http://1.3.4.5/poker-web.
Joe and Sarah will not be able to play againt each other in this case because
they are using two different currencies.