Skip to content

skarard/Voteelo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Voteelo

A website for a voting system that use the Elo rating system for political parties running for the 2015 UK General Election

#Setting Up Open up a terminal

Install a LAMP server (Ubuntu 12.04+)
sudo apt-get install tasksel
sudo tasksel install lamp-server

Navigate to your httpdocs / www folder
cd /var/www

Then clone this respository
git clone https://github.com/skarard/Voteelo

Use you Web Browser to set up the database
http://127.0.0.1/phpmyadmin/

Create a database called poll and use the file in /database to import the database structure to poll

Edit /includes/db.php
$servername = "localhost"; // this will ususally be 'localhost', but can sometimes differ
$username = "root"; // the username that you created, or were given, to access your database
$password = "google123"; // the password that you created, or were given, to access your database
$dbname = "poll"; // the name of the database that you are going to use for this project

Edit /includes/base.php
$dbhost = "localhost"; // this will ususally be 'localhost', but can sometimes differ
$dbname = "poll"; // the name of the database that you are going to use for this project
$dbuser = "root"; // the username that you created, or were given, to access your database
$dbpass = "google123"; // the password that you created, or were given, to access your database

Use a Web Browser to navigate to
http://127.0.0.1/Voteelo/

Register a new user to start voting

About

A website for a voting system that use the Elo rating system for political parties running for the 2015 UK General Election

Resources

License

Stars

0 stars

Watchers

2 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors