Skip to content

Commit 096fc8f

Browse files
authored
Merge branch 'development' into dependabot/npm_and_yarn/multi-dae47d5549
2 parents ae4b85b + e3a1866 commit 096fc8f

6 files changed

Lines changed: 904 additions & 100 deletions

File tree

Readme.md

Lines changed: 29 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,34 @@ npm build
7070

7171
Deployed in a production environment at [checkin.eventyay.com](https://checkin.eventyay.com) it consumes the API exposed by master branch deployment of open event server, hosted at [api.eventyay.com](https://api.eventyay.com).
7272

73+
## Kiosk Mode Setup (Silent Badge Printing)
74+
75+
This setup runs **Google Chrome in kiosk mode** for automated check-in and **silent badge printing**.
76+
77+
### 1. Launch Chrome in Kiosk Mode
78+
79+
Run the following command:
80+
81+
```sh
82+
open -a "Google Chrome" --args --kiosk --kiosk-printing --app=https://access.eventyay.com
83+
```
84+
85+
### 2. Register the Device
86+
87+
Once Chrome opens:
88+
89+
1. Select the **Server**.
90+
2. Choose **Badge Printing Station**.
91+
3. Continue with **Device Registration**.
92+
93+
After registration, the kiosk will be ready for **automated attendee check-in and badge printing**.
94+
> Ensure the **printer is installed and set as the default printer** on the system.
95+
96+
97+
---
98+
99+
If you want, I can also add a **“Auto-start kiosk on boot” section** (very useful for event check-in machines).
100+
73101
#### Development branch
74102

75103
Only deployed locally with `npm run dev` or Netlify when you make a pull request it consumes the API exposed by development branch of open event server, hosted at [test-api.eventyay.com](https://test-api.eventyay.com).
@@ -113,4 +141,4 @@ When you file a feature request or when you are submitting a bug report to the [
113141

114142
This project is currently licensed under the [Apache License version 2.0](LICENSE).
115143

116-
To obtain the software under a different license, Please contact [FOSSASIA](https://blog.fossasia.org/contact/).
144+
To obtain the software under a different license, Please contact [FOSSASIA](https://blog.fossasia.org/contact/).

package-lock.json

Lines changed: 18 additions & 16 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/components/Eventyay/EventyayEventCheckIn.vue

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ const { message, showSuccess, showError, badgeUrl, isGeneratingBadge } = storeTo
1717
)
1818
const processApi = useEventyayApi()
1919
const { apitoken, url, organizer, eventSlug, eventname, selectedRole } = processApi
20+
const AUTO_CLOSE_SECONDS = 20
2021
const countdown = ref(5)
2122
const timerInstance = ref(null)
2223
const timeoutInstance = ref(null)
@@ -27,7 +28,7 @@ function joinUrl(base, path) {
2728
}
2829
2930
function startCountdown() {
30-
countdown.value = 10
31+
countdown.value = AUTO_CLOSE_SECONDS
3132
timerInstance.value = setInterval(() => {
3233
countdown.value--
3334
if (countdown.value <= 0) {
@@ -94,7 +95,7 @@ function showPopup() {
9495
if (selectedRole === "Badge Station") { handlePrint() }
9596
timeoutInstance.value = setTimeout(() => {
9697
processEventyayCheckInStore.$reset()
97-
}, 10000)
98+
}, AUTO_CLOSE_SECONDS * 1000)
9899
}
99100
100101
// Cleanup timers when component is destroyed

0 commit comments

Comments
 (0)