This is Extreme Startup. This software supports a workshop where teams can compete to build a software product that satisfies market demand.
NB don't show the players the code for this project until after the workshop as otherwise they can cheat.
The simplest way to get Extreme Startup running is to run in Docker.
docker build -t extremestartup . # ./build.sh docker run -d -p 80:3000 extremestartup # ./run.sh
and for warmup roundshell script docker run -d -p 80:3000 -e WARMUP=1 extreme_startup # ./warmup.sh ```
You can even run the tests in Docker if you are making changes to the code
shell script docker run --rm -it --entrypoint=rake extreme_startup # ./test.sh
For more information on How to manage docker read Docker docs
See bottom for how to run this native (the hard way/the Rubyist way).
We have had trouble with things like firewalls, especially on some Windows laptops, so if there are problems, make sure you can ping clients from the server and vice versa.
Warmup round: run the web server with the
WARMUPenvironment variable set (note that the result of running with
shell script WARMUP=1 ruby web_server.rb # or ./warmup.sh`
In the warmup round, just make sure that everyone has something technologically working, you just get the same request repeatedly. @bodil has provided some nice sample players in different languages.
Real game: revert to using the full QuizMaster, and restart the server. This will clear any registered players, but that's ok.
As the game progresses, you can introduce new question types by moving to the next round. Visit /controlpanel and press the "Advance round" button. Do this when you feel like some of the teams are making good progress in the current round. Typically we've found this to be about every 10 mins. But you can go faster/slower as you like. There are 6 rounds available.
In case you want to 'stop the world' and reflect with the players during the game, you can use the "Pause Game" button in /controlpanel.
Set a time limit so you know when to stop the game, declare the winner, and retrospect.
-- Robert Chatley and Matt Wynne 2011.
If you run this workshop, please write it up on the internet and send us a link to add to this list.
If you want to run the workshop without Docker you need to get this running (not tested in a few years):
(For Mac (Xcode 5.1 onwards))
ARCHFLAGS=-Wno-error=unused-command-line-argument-hard-error-in-futureand can be prepended to the install commands.
cd ../ gem install bundler bundle install
bundle exec ruby web_server.rb