Skip to content

Remcat/votercheck

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

votercheck

Simple web service for searching and verifying voter registration info.

Requirements

You'll need Python2.7. For the server you'll need flask and flask_restful.

Importing data

Run db_import.py, passing it the source text file and the destination SQLite database file:

python db_import.py --db=/path/to/voterdata.db --input=/path/to/data.txt

To only import 1000 records (for testing or whatever):

python db_import.py --db=/path/to/voterdata.db --input=/path/to/data.txt --max=1000

Running the server

Run web/server.py, passing it the SQLite database file:

python server.py --db=/path/to/voterdata.db --port=1234

You probably have to run this from the /votercheck/web folder.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 42.9%
  • HTML 30.2%
  • JavaScript 16.1%
  • Nginx 10.8%