- This is a election system based on bitcoin system. There are some problems yet but we indend to develop this prototype.
- Essential Development Environment (1) APM (2) mysql (3) bitcoin opensource
-
This project is based on Bitcoin open source. So you have to install bitcoin(https://github.com/bitcoin/bitcoin.git). We don't explain that Install guide.
-
After the intallation is done, move '/system.op/bitcmd/*' into 'userPath/bitcoin/src/'. The contents is the shell script commanding the bitcoind, like start, stop and etc command.
-
The shell script must be modified because this project is not supported the completed automake. So see the script 'kbk'below.
#!/bin/bash bitcoin-cli -regtest -datadir=uki $1 $2 $3 $4
-
As you see, the default directory is 'uki'. So this have to be modified. The others is as same as 'kbk'. We feel sorry these unconveniences.
- In sereis of these settings, then execute './start_kbk.sh'.
-
Recommend that git clone this project on '/var/www/html/'. The main index page is 'localhost/KBK_election/server.setting/index.php'.
- server.setting : the page(js, php, lib etc) are in.
- system.op : the shell script directory executed by 'server.setting'. - All the script has 'conf_path' meaning these script path. so If the current path is dirrente from you path, Changes those rightly.
-
See, /server.setting/db/. There are 'x_config.php'. These are the database configuration which you will use.
$db_user='root' $db_pwd='kbkelection' $db_name='kbkdb'so modify those as your configuration. I recommand that change the password only because it is the shortest corrective actions.
-
Currently, We uses 2 databaes. The configuration contents 'kbkdb','kwebdb'.Literally, 'kwebdb' is used for 'web' to check the voter login history and prevent the duplicated vote. The 'kbkdb' originally should have benn set on AS(Authentication server), but it's doesn't. I think it's the right place where that database have to be on AS. if you can then do like that.
-
The table properties and the sample data are on /server.setting/db/table/. Check these out.
- project : KBK_ELECTION
- last update : 2017-10-13
- email : snrndi4521@gmail.com