Skip to content
This repository has been archived by the owner on Jun 6, 2020. It is now read-only.
/ polls Public archive

I'm learning Javascript

License

Notifications You must be signed in to change notification settings

zgoda/polls

Repository files navigation

Simple Polls

Simple polls app to learn application development with some Javascript UI library. This is educational project. I found that it's easiest for me to learn while I try to explain the domain like writing a tutorial.

Backend is in Flask + Pony, located in src/polls, frontend is Preact + HTM.

Run the app

Prepare local configuration files.

cp env.example .env
cp conf/config_local.py.example conf/config_local.py
cp conf/secrets.py.example conf/secrets.py

Review .env and conf/config_local.py and make any required changes to match your setup. Then generate some random string and update conf/secrets.py.

Now on to run the application.

/usr/bin/python3.7 -m venv venv
source venv/bin/activate
pip install -U pip wheel
pip install -U -e .[dev]
polls run