Skip to content

Commit 93f8dc4

Browse files
committed
Remove electron and fix docs
1 parent f4639f0 commit 93f8dc4

File tree

15 files changed

+4
-3048
lines changed

15 files changed

+4
-3048
lines changed

β€ŽREADME.mdβ€Ž

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,7 @@ $ ./bin/users create-user <username> <cardKey>
2626

2727
## Usage
2828

29-
vote uses a RFID-reader to register and activate/deactivate users. This is done to make sure that only people that are at the location can vote. To access the RFID-reader vote is also packed as a Electron-app, in the `./electron-app`-folder.
30-
31-
A binary version of the electron app can be found in [releases](https://github.com/webkom/vote/releases). Docker images can be found on dockerhub: [abakus/vote](https://hub.docker.com/r/abakus/vote).
29+
vote uses a RFID-reader to register and activate/deactivate users. This is done to make sure that only people that are at the location can vote.
3230

3331
An example deployment can be found in the `./deployment` folder.
3432

β€Žclient/services/cardKeyService.jsβ€Ž

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ module.exports = [
7070

7171
return {
7272
listen: async function(cb) {
73-
// Listen to window messages. This is from the electron-app, but tests also depend on it
73+
// Listen to window messages for test compatability.
7474
angular.element($window).bind('message', function(e) {
7575
cb(e.data);
7676
});

β€Ždeployment/README.mdβ€Ž

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,8 @@ The vote service can be exposed to the web using a reverse-proxy like nginx, cad
4141

4242
## Using the card-readers
4343

44-
To register new users, you have to use a version of `vote` wrapped inside of `electron`. The code can be found inside the `electron-app` path, or can be downloaded from the release page, https://github.com/webkom/vote/releases.
44+
Make sure you have enabled Experimental Web Platform features and are using Google Chrome. Experimental features can be enabled by navigating to: chrome://flags/#enable-experimental-web-platform-features
45+
Please check that the USB card reader is connected. When prompted for permissions, please select the card reader (CP210x).
4546

4647
### Register new users using input form
4748

β€Želectron-app/README.mdβ€Ž

Lines changed: 0 additions & 45 deletions
This file was deleted.
-11 KB
Binary file not shown.

β€Želectron-app/build/icon.icnsβ€Ž

-71.4 KB
Binary file not shown.

β€Želectron-app/build/icon.icoβ€Ž

-353 KB
Binary file not shown.

β€Želectron-app/env.jsβ€Ž

Lines changed: 0 additions & 5 deletions
This file was deleted.

β€Želectron-app/index.htmlβ€Ž

Lines changed: 0 additions & 28 deletions
This file was deleted.

β€Želectron-app/main.jsβ€Ž

Lines changed: 0 additions & 36 deletions
This file was deleted.

0 commit comments

Comments
Β (0)