Web application for creating private voting with authorization via VK.
Create simple poll in order to know the opinions of people
Each poll creates a private link. Share it in the dialogs!
If you use linux instead of 'set', write 'export'
git clone https://github.com/andreyvpng/vkpoll.git
cd vkpoll
pip install -r requirements.txt
set FLASK_APP=run.py
set DATABASE_URL=<URL LINK TO DATABASE>
Register an application for use API you can here. Choose a website platform. The site address should be as follows: http://yoursite.com/auth/get_token
set VK_API_ID=<put_your_application_id>
set VK_API_SECRET=<put_your_secure_key>
set VK_API_URL=<put_your_site_address>
Init database(for first run)
flask db upgrade
Run application
flask run
- improve code style
- write tests
Copyright (c) 2018, Andrey Varfolomeev. All rights reserved.
Licensed under the BSD 2-Clause License