Note format of file.
This commit is contained in:
		
							parent
							
								
									45efacd1a2
								
							
						
					
					
						commit
						ae66e56a59
					
				
					 1 changed files with 8 additions and 5 deletions
				
			
		
							
								
								
									
										13
									
								
								README
									
										
									
									
									
								
							
							
						
						
									
										13
									
								
								README
									
										
									
									
									
								
							|  | @ -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 | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		
		Reference in a new issue
	
	 Bradley M. Kuhn
						Bradley M. Kuhn