Run the webserver we use Leiningen, the Clojure build automation tool.
Run the webserverλ︎
In a command line terminal, navigate to the root of your project and type the following command
This command will start an embedded Jetty web server that listens on http://localhost:8000.
Open http://localhost:8000 in your browser and try out different pages, such at http://localhost:8000/hello, /goodbye or /makes-no-difference. It should not matter what page you visit, you should get the same response.
To stop the server, press Control-c in the terminal used to run the lein command.