Skip to content

chpatola/yle_web

Repository files navigation

Election Predictor

This is the flask web version of the project found here: https://github.com/chpatola/election_predicter

Try the app here: https://yle-election-predictor.herokuapp.com/

Instructions for running the project locally

You can choose to run the project either via Docker or manually.

Run manually

  1. Install python 3.8: https://www.python.org/downloads/
  2. Make sure pip is installed: https://pip.pypa.io/en/stable/installation/
  3. Install all packages mentioned in requirements.txt
  4. Start the app in your terminal
python app.py

Now you can open localhost:5000 in your browser and use the app there.

Run via Docker

Make sure you have docker installed: https://docs.docker.com/get-docker/.

You can use the Docker image provided here https://hub.docker.com/repository/docker/chpatola/yle_web.

The Dockerfile is also uploaded in this repository. Execute the following two commands in your terminal.

docker image pull chpatola/yle_web
docker run -p 5000:5000 chpatola/yle_web

Now you can open localhost:5000 in your browser and use the app there.

About

Election machine web version

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published