A Hoplon implementation of the Monty-Hall show door game experiment.
- java 1.7+
- boot
-
Start the
dev
task. In a terminal run:$ boot dev
This will give you a Hoplon development setup with:
- auto compilation on file changes
- audible warning for compilation success or failures
- auto reload the html page on changes
- Clojurescript REPL
-
Go to http://localhost:8000 in your browser. You should see "The Monty Hall" game.
-
If you edit and save a file, the task will recompile the code and reload the browser to show the updated version.
- Run the
prod
task. In a terminal run:$ boot prod
- The compiled files will be on the
target/
directory. This will use advanced compilation and prerender the html.
Application deployed to Heroku.
- Get a Heroku account and install the Heroku toolbelt
- Create an application in the Heroku dashboard
- Build a WAR file with
boot make-war
- Follow these instructions to deploy the WAR to Heroku using the
heroku-cli-deploy
tool.
Distributed under the Eclipse Public License either version 1.0 or (at your option) any later version.