Note format of file.

This commit is contained in:
Bradley M. Kuhn 2013-12-18 17:09:04 -05:00
parent 45efacd1a2
commit ae66e56a59

13
README
View file

@ -4,11 +4,14 @@ Setting up an election:
only on the server and is included as PHP code. It's hard coded currently only on the server and is included as PHP code. It's hard coded currently
to: /home/admin/secret/anonvoting currently. to: /home/admin/secret/anonvoting currently.
You at least need to set these variables in it: The file should look something like this:
$mysql_host
$mysql <?php
$mysql_password $mysql_host = "localhost";
$mysql_db $mysql_user = "someuser";
$mysql_password = "somepassword";
$mysql_db = "somedb";
?>
1. When I deploy, I create an account for the election, as the mysql root user: 1. When I deploy, I create an account for the election, as the mysql root user:
mysql -u root -p mysql -u root -p