- Install leiningen
- Download leiningen-2.0.0-preview10-standalone.jar from https://github.com/technomancy/leiningen/downloads into e.g. c:\dev\bin
- Create lein.bat in you path with the following line: @java -cp c:\dev\bin\leiningen-2.0.0-preview10-standalone.jar clojure.main -m leiningen.core.main %*
- git clone http://github.com/anders88/sweeper_game.git
- cd ...\sweeper_game
- lein run
- Go to http://localhost:1337
- Install leiningen
- Go to https://github.com/technomancy/leiningen
- create/download the script (Follow the instruction in the Installation section)
- git clone http://github.com/anders88/sweeper_game.git
- cd ...\sweeper_game
- lein run
- Go to http://localhost:1337
- Download a starting point from https://github.com/jhannes/minefield-solver
- Go to http://localhost:1337
- Enter a username and press Register
- Change the userid in the application to what you were given by the application
- Run the program
- Change the program
Adminconsole can be used to restart the game without restarting your server. If you're running the server on your laptop, you problably don't need it (You just restart your server). You start the server with:
lein run start <setupfile>
The setupfile must point to a file with the following structure password-file= mode=<:dev or :prod> secured=true
To generate your password you run
lein trampoline run setPassword <setupfile>
This will prompt for a password and store this.