cryptovote
1.0.0
同型加密單一可轉讓投票選舉的Web界面。
要通過Web界面運行選舉,請運行以下命令:
cd cryptovote
pip install -r requirements.txt
python -m flask run在最初運行Web界面之前,應將文件.env.example複製到名為.env的新文件中,並設置了所需值。另請注意,Chrome似乎是唯一支持DNS分辨率用於Localhost子域的瀏覽器,因此,用於開發鉻的瀏覽器必須用於使用子域的站點的部分。 Furthermore, webauthn requires that the domain being used has at least two parts (ie two strings separated by a period), so be sure to use a development root server name that looks something like cryptovote.localhost:5000 instead of just localhost:5000 Finally, if actually deployed on a non-localhost server HTTPS must be used in order for WebAuthn to work.