2023-10-26 07:58:37 +03:00
|
|
|
# OpenFest Timer
|
|
|
|
|
|
|
|
## Deployment
|
|
|
|
|
|
|
|
Clone to `/opt/timer`.
|
|
|
|
Put `openfest-timer@.service` in `/etc/systemd/system`.
|
|
|
|
Requires NodeJS and npm.
|
|
|
|
|
|
|
|
```bash
|
|
|
|
systemctl daemon-reload
|
|
|
|
npm install
|
|
|
|
systemctl enable --now openfest-timer@hall-a.service
|
|
|
|
systemctl enable --now openfest-timer@hall-b.service
|
|
|
|
```
|
|
|
|
|
|
|
|
## Based on Defcon
|
|
|
|
|
|
|
|
### Defcon
|
2012-06-08 17:14:56 +03:00
|
|
|
|
|
|
|
Defcon is a stopwatch running on Node.js, Express.js, and Socket.io.
|
|
|
|
It is intended to be a good starting point if you're just learning to use
|
|
|
|
web sockets. It currently uses xhr-polling so it is compatible with Heroku.
|
|
|
|
|
2023-10-26 07:58:37 +03:00
|
|
|
### Who's it for?
|
2012-06-08 17:14:56 +03:00
|
|
|
|
|
|
|
I originally wrote Defcon over four blog posts introducing Socket.io and
|
|
|
|
deploying to Heroku. Please checkout the posts on my site, [robdodson.me](http://robdodson.me)
|
|
|
|
|
2012-06-08 17:16:48 +03:00
|
|
|
- [Part 1](http://robdodson.me/blog/2012/06/04/deploying-your-first-node-dot-js-and-socket-dot-io-app-to-heroku/)
|
|
|
|
- [Part 2](http://robdodson.me/blog/2012/06/05/building-a-countdown-timer-with-socket-dot-io/)
|
|
|
|
- [Part 3](http://robdodson.me/blog/2012/06/06/building-a-countdown-timer-with-socket-dot-io-pt-2/)
|
|
|
|
- [Part 4](http://robdodson.me/blog/2012/06/07/building-a-countdown-timer-with-socket-dot-io-pt-3/)
|
2012-06-08 17:14:56 +03:00
|
|
|
|