zgoda / polls

I'm learning Javascript

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

I'm learning Javascript

License:MIT License


Languages

Language:Python 64.3%Language:JavaScript 19.4%Language:HTML 15.0%Language:CSS 1.4%