精華區beta NTUSA 關於我們 聯絡資訊
※ [本文轉錄自 NTU 看板 #1Ka6lDUk ] 作者: NTUvote (臺大選委會) 看板: NTU 標題: [校園] 103-1學代選舉驗證系統開源 時間: Wed Dec 17 01:28:41 2014 103-1學代選舉身分驗證系統開源: 各位同學晚安,以下為本次身分驗證系統的程式碼開源,歡迎同學一同來檢視! 投票時間:12/19 09:00-19:00 公告: 選舉公報已置於小銘與小莉們的手上!遇到他們時,可隨時瀏覽候選人政見。 預告: 將推出〈白話文版本〉的投票教學,困擾於閱讀程式碼的同學們請再多等一天! 開源網址: https://github.com/rschiang/ntu-vote-auth-server 以下為開源文字說明: NTUVote 身份驗證系統 這是用於電子投票的身份驗證系統伺服器,將在臺灣大學 103 學年度第一學期學代會學 生代表選舉使用。系統架構以 Django REST Framework 為基礎,藉由讀取卡片資訊、並 與校務系統連線,使得此次電子投票得以透過自動化的方式驗證身份、派發選票,並有效 過濾偽卡。 完整電子投票系統架構分為驗證與投票兩部分,其中裝置整合與身份驗證系統由臺灣大學 學生會選舉罷免執行委員會委託臺灣大學開源社 RSChiang 規劃研發;投票系統則延請 MouseMs 實作。 此專案以 Apache 2.0 授權釋出供公眾使用。 安裝 / Install 專案依賴的套件與 Python 版本可參考 requirements.txt 與 .python-version,所需設 定的環境變數可以在 core/settings.py 找到。 git clone https://github.com/rschiang/ntu-vote-auth-server pip install virtualenv virtualenv venv source venv/bin/activate pip install -r requirements.txt # Create tables ./manage.py migrate # Set up nginx for production use apt-get install nginx # Running dev server on localhost:8000 ./manage.py runserver NTU Vote Authentication Server This project is the authentication server that will be used in the upcoming 103-1 NTU Student Council Representative Election. Based on Django REST Framework, the authentication system enables the automation of identity verification process, while significantly reduces the chance for electoral fraud. The full e-vote architecture consists of two distinguish parts: authentication and ballot-casting. The authentication and device integration part is done by NTU Open Source Community under the delegation of NTU Students' Association Election Commission, while MouseMs from NTUST is in charge of the voting system. This project is released under Apache License 2.0. f 臺大選委會 http://www.facebook.com/NTUVote -- ※ 發信站: 批踢踢實業坊(ptt.cc), 來自: 111.184.47.10 ※ 文章網址: http://www.ptt.cc/bbs/NTU/M.1418750925.A.7AE.html ※ 發信站: 批踢踢實業坊(ptt.cc) ※ 轉錄者: NTUvote (111.184.47.10), 12/17/2014 01:41:57