Server and client for the Disney experiential door event.
- Download Arduino IDE
- Connect Arduino to machine
- Open the Arduino IDE
- Select: File > Examples > Firmata > StandardFirmataPlus
- Click "Upload" icon
- GPG 2+
- Git 2+
- Node 17+
- NPM 8+
- Google Chrome 99+
cp server/env.example.ts server/env.ts
###################################################
# 👆 edit and update variables, then run these 👇 #
###################################################
npm install
npm --prefix server run reset
npm start
These commands will make the kiosk machine plug 'n' play.
sudo chmod 666 /dev/tty*
cp server/env.example.ts server/env.ts
###################################################
# 👆 edit and update variables, then run these 👇 #
###################################################
npm install
npm run build
#######################################################################
# 👇 IMPORTANT: ONLY RUN THESE COMMANDS ONCE FOR THE INITIAL SETUP 👇 #
#######################################################################
npm --prefix server run reset
pm2 start /home/fv/apps/disney-magical-door/ecosystem.config.js
pm2 save
This will generate 10 random codes + the admin codes.
npm --prefix server run generateQrCodeImages
When running the Chrome app, visiting localhost:9222 will open a debugger with dev tools and a preview of the running app. This is useful when the app is running, and you want to inspect the runtime without opening the app's dev tools. Ideally you will do this on-site via the local IP of the machine running the app, e.g. 192.168.0.2:9222.