An application to help voters see which political parties are the best fit to their beliefs.
- Clone repo
cd to repo folder
pip install -r requirements.txt
- Rename configcfg.txt to config.cfg and edit the contents.
- to db create run follow commands in PSQL Commandline
- create a user run CREATE USER wahlomat WITH Password 'wahlomat';
- create a DB with owner wahlomat run CREATE DATABASE wahlomat OWNER wahlomat;
- You will need a local postgresql install and to have a user named wahlomat, then run this:
python db_create.py
python gpwahlomat/run.py
After doing this you will have a local database with the needed tables and the app can be reached at port 5000.
- install Visual C++ Build Tools from http://landinghub.visualstudio.com/visual-cpp-build-tools
- install Python3 for windows
- install PostgreSQL from http://www.bigsql.org/postgresql/installers.jsp
- Clone repo
cd to repo_folder
- run
pip install virtualenv
as admin cd repo_folder
andvirtualenv venv
- change in virtual environment
call venv\Scripts\activate.bat
pip install -r requirements.txt
- Rename configcfg.txt to config.cfg and edit the contents.
- to db create run follow commands in PSQL Commandline
- create a user run
CREATE USER wahlomat WITH Password 'wahlomat';
- create a DB with owner wahlomat run
CREATE DATABASE wahlomat OWNER wahlomat;
- then run this
python db_create.py
python gpwahlomat/run.py