ssd-timer

command module
v0.0.0-...-8e4c458 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 28, 2023 License: MIT Imports: 9 Imported by: 0

README

Startup Speeddating Ticker

This is the Ticker used for the EC Startup Speeddating. It is written in Go and uses Websockets for real-Time communication.

After starting the server, everyone accessing the root URL will see the same synchronized ticker. Type /admin in the address bar to get to the admin interface after entering the password.

This way you can let the timer run from on a Laptop connected to a projector, and remote-control the timer with your smartphone or from another computer.

Screenshot of timer, and admin console

Build and Run

Build:

go build
# and run
./ssd-timer -p your_secret

Run using foreman (env vars can be edited in .env):

go build
foreman start

Just run using go run:

make run
# or
go run ./ -p your_secret

Build and install in gopath:

git clone git@github.com:jo-m/ssd-timer.git $GOPATH/src/github.com/jo-m/ssd-timer
cd $GOPATH/src/github.com/jo-m/ssd-timer
go get

Deploy to heroku

heroku apps:create ssd-timer; \
heroku labs:enable --app ssd-timer websockets; \
heroku config:add --app ssd-timer BUILDPACK_URL=https://github.com/kr/heroku-buildpack-go.git; \
heroku config:add --app ssd-timer ADMIN_PASSWORD=<password>; \
git push heroku master

Check logs

heroku logs --app ssd-timer --tail

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL