You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+11-5Lines changed: 11 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -190,19 +190,21 @@ Here is how the game works:
190
190
Players start with a zero score. The fastest player to answer a question correctly earns 1000 points.
191
191
Players who also answered correctly but slower will earn a decreasing number of points depending on how late they answered. Wrong answers grant no points. The player that scores the most points at the end of the game wins.
192
192
193
-
**App wake-up time**
193
+
**Player app wake-up**
194
194
195
195
Shortly before running the official game, make sure to access the player app a first time to load it.<br/>
196
196
The default Heroku setup uses a free Heroku dyno. This implies that apps that are inactive for more than 30 minutes are put to sleep. Any connection to the app will wake it up but it takes a bit less than a minute. You may experience some "Request time out" errors during that wake-up time.
197
197
198
-
If you are running the game with 30+ players, consider upgrading to a Hobby dyno (\$7/month).
198
+
If you are running the game with 40+ players, consider upgrading to a [Hobby dyno](https://www.heroku.com/dynos).
199
199
200
200
**Resetting the game**
201
201
202
202
You can reset the game at any time by clicking on the Reset button on top right of the Quiz app. This resets the quiz session to the registration phase, clears players and previous answers.
203
203
204
204
## Troubleshooting
205
205
206
+
Review these common problems. If you can't find a solution to your problem, [open a new issue](https://github.com/pozil/quiz-host-app/issues).
207
+
206
208
**Problem:** Player app is not updating when switching game phase (from registration to question for example)
207
209
208
210
**Solution:**
@@ -216,10 +218,14 @@ You can reset the game at any time by clicking on the Reset button on top right
216
218
217
219
- Reset the game using the Reset button on the quiz app. This resets the quiz session to the registration phase, clears players and previous answers.
218
220
- Run the following script wipe ALL quiz data. You'll have to reimport questions.
221
+
```
222
+
sfdx force:apex:execute -f bin/wipe-data.apex
223
+
```
219
224
220
-
```
221
-
sfdx force:apex:execute -f bin/wipe-data.apex
222
-
```
225
+
**Problem:** You're seeing a "Failed to validate Quiz app settings: Read timed out" error on the host app.
226
+
227
+
**Solution:**
228
+
Refresh the page to fix the problem. Refer to the **Player app wake-up** section of this document for more information.
0 commit comments