Skip to content

Commit

Permalink
Add build prerequisites and example config file
Browse files Browse the repository at this point in the history
  • Loading branch information
rschiang committed Jul 10, 2015
1 parent 2cd4d13 commit 0a01ae6
Show file tree
Hide file tree
Showing 2 changed files with 41 additions and 0 deletions.
9 changes: 9 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,15 @@ Ostraka

Interactive live ballot counting system.

Prerequisites
-------------

* Qt 5.5 with QtCanvas3D support
* QML port of [Three.js](https://github.com/tronlec/three.js) (included as submodule)
* Set up [`ostraka.json`](ostraka.example.json) under `/Users/Shared` folder

License
-------
Released under [GPLv3](LICENSE.md).

Three.js and the QML Three.js fork are under the [MIT License](qml/three/LICENSE.md).
32 changes: 32 additions & 0 deletions ostraka.example.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
{
"party1": {
"name": "綠綠黨",
"color": "#4caf50",
"flag": "file:///Users/Shared/party1.jpg",
"candidate": {
"avatar": "file:///Users/Shared/avatar1.jpg",
"name": "彭立言"
},
"seats": ["徐大勤", "蕭大政", "包大和", "葛大光", "趙大茂"]
},
"party2": {
"name": "黃黃黨",
"color": "#3f51b5",
"flag": "file:///Users/Shared/party2.jpg",
"candidate": {
"avatar": "file:///Users/Shared/avatar2.jpg",
"name": "彭臥言"
},
"seats": ["明大正", "陳大賢", "張大朗", "黃大堂", "石大瑜"]
},
"party3": {
"name": "橘橘黨",
"color": "#fb8c00",
"flag": "file:///Users/Shared/party3.jpg",
"candidate": {
"avatar": "file:///Users/Shared/avatar3.jpg",
"name": "彭仰言"
},
"seats": ["蘇大足", "朱大漢", "吳大山", "張大中", "王大立"]
}
}

0 comments on commit 0a01ae6

Please sign in to comment.