# README #

## Zitation ##

Tiepmar, J. WahlSignal.de.

## Server Requirements ##

Standard Server Software (e.g. Apache2) mit PHP und SQLITE

Beispiel für Ubuntu / UNIX 

	sudo apt-get install apache2 php sqlite3 php-sqlite3 

Optional für pull der .db Dateien

	sudo apt-get install git-lfs

## Installation ##

	cd /var/www/html (or the web directory of your choice)

	git clone https://bitbucket.org/dhdigilab/wahlsignal.git

Open in Browser [SERVERADDRESS]/wahlsignal

## Updates ##

	cd /var/www/html/wahlsignal

Softwareupdates und Datendumps als .txt

	git pull

Updates der .db-Dateien

	git lsf pull

oder ohne git lsf

	python3 db.py

If updates do not show up, reload website without cache (e.g. Firefox crtl + shift + r)

## References ##

Daten 

https://www.wahlrecht.de/umfragen/

Plotly

Plotly Technologies Inc. Collaborative data science. Montreal, QC, 2015. https://plot.ly.
