Fantasy Engine - developer and operations guides

Install, upgrade, push, realtime, mail and app builds - for the developer / QC team.

Dev & operations guides · Fantasy Engine 1.0.0 · dates are GMT+7

Developer and operations guides

Six guides for installing, running and updating Fantasy Engine and building its apps, and the user guide of the product.

The guides

Last updated: 2026-11-04 · checked against daily-fantasy bd2f162 and daily-fantasy-snake-draft d4f0bb4

User guide

For the site owner and the members: the AdminCP (sports, events, results, contests, data feed, late corrections, wallet, member accounts, pages) and the app (the landing page with the site's figures, lobby, entering, live results, wallet, profile and account deletion).

Overview · Admin: sports & events · Admin: contests · Admin: data feed & corrections · Admin: members & site · App: lobby & contests · App: playing & results · App: account

Install

Requirements, .env, the web installer or the command line, Apache / nginx, cron, first settings and checks.

Overview · Requirements · Configure · Install · Web server · Scheduler & queue · First settings · Verify · Troubleshooting

Upgrade

Bring a running site to a newer package: backup, files, shaun_core:update or the AdminCP wizard, checks.

Overview · Before you start · Update · After the update · Troubleshooting

Firebase & push

Firebase project, firebase.json, the app config files, APNs, web push (PWA, VAPID), testing.

Overview · Firebase project · Backend · Mobile apps · Web push · Test · Troubleshooting

Realtime

Reverb or Pusher: the Broadcast settings, running Reverb behind the web server, the polling fallback.

Overview · Settings · Reverb · Pusher · Verify · Troubleshooting

Mail

SMTP in the AdminCP, sending at once or through the outbox, the test mail, templates.

Overview · Settings · Queue · Test · Templates · Troubleshooting

Build the apps

The web build, the sale packages, the Android and iOS apps and the store review (money-off mode).

Overview · Web app · Sale packages · Native setup · Android release · iOS release · Store notes · Troubleshooting

Reading order for a new server

  1. Install - up to Verify.
  2. Mail - e-mail verification and password recovery need it.
  3. Realtime and Firebase & push - optional, any order.
  4. Build the apps - when you publish the mobile apps.
  5. Upgrade - at the next release (a site installed before 2026-10-30: its section Update a 1.0.0 site installed before 2026-10-30).
  6. User guide - for whoever runs the site day to day.
Snake draft product

These guides describe Fantasy Engine; the snake draft product (also version 1.0.0) shares the platform, and where it differs a box like this one says so. Its own sports feed, scheduled commands and its code updates are in the install / upgrade guides and the user guide of the snake draft documents.

About these documents

Conventions used in every guide.

About these documents

Last updated: 2026-10-22 · checked against daily-fantasy c68e20c

  • Written for the developer and QC team that installs and runs the product. Commands are for a Linux server (paths like /var/www/fantasyengine); adapt them to yours.
  • Values such as your-site.example, your-app-key, a-strong-password are placeholders. No real key appears in a document or a screenshot (fields were blanked or filled with placeholders).
  • Each section shows Last updated and the code version it was checked against; dates are GMT+7. A checked note tells whether the steps were run or read from the code.
  • Screenshots are named <section>__<screen>__<platform>-<width>__<date>.png and live in img/ beside the pages.
  • Product version described: 1.0.0.

Change log

What changed in this set of documents.

Change log

Last updated: 2026-11-04 · checked against daily-fantasy bd2f162 and daily-fantasy-snake-draft d4f0bb4

Date (GMT+7)SectionWhat changed
2026-10-22allFirst version of the six guides and this index, checked against daily-fantasy c68e20c and daily-fantasy-snake-draft b23928e.
2026-10-28guidesNew user guide; install, upgrade, build-apps, firebase-push and realtime updated against daily-fantasy 7b8ff49 (data-feed client, settle delay, late corrections and re-settle, How to play / Help, the one-off steps of a 1.0.0 site installed before 2026-10-28, one web build for any sub-folder); mail re-checked, no change. Each guide's change log lists its sections.
2026-10-28guidesAudit fix round (docs-audit.md): user guide, install, upgrade, build-apps, realtime, mail, firebase-push corrected against daily-fantasy d2d8b13; two shots re-taken, shots renamed after their sections.
2026-10-28guidesThe snake draft product stays version 1.0.0 (no 1.0.0 → 1.1.0 update); its schedule has 30 entries.
2026-10-29guidesReading order: the upgrade section now covers a 1.0.0 site installed before 2026-10-29; the guides were updated for the 2026-10-29 changes (see their change logs).
2026-10-29guidesThe user guide card lists the landing page (7b13a85).
2026-10-29user guide cardThe landing page is no longer an AdminCP item (its background upload was removed); the app part names the landing page with the site's figures.
2026-10-30guidesReading order: the upgrade section is now titled "Update a 1.0.0 site installed before 2026-10-30" (docs-audit D30-4). Only that line changed; the stamp stays.
2026-11-04user guide cardThe user guide card names member accounts and account deletion (new user-guide sections member-accounts and the Delete Account part of profile); upgrade, build-apps and realtime took the 2026-11-04 changes (see their change logs).