A sample Clojure application to deploy to Cloud Foundry which works out of the box. | Read-only mirror of https://github.com/swisscom/cf-sample-app-clojure — Swisscom. Issues & pull requests at the source.
  • Clojure 92%
  • CSS 8%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
2024-10-16 17:15:53 +02:00
resources/public/css updated hiccup to version 1.0.5 2016-04-13 12:14:27 +02:00
src/cf_sample_app_clojure Clean up dependencies 2016-10-03 13:41:44 +02:00
.gitignore updated hiccup to version 1.0.5 2016-04-13 12:14:27 +02:00
CODE_OF_CONDUCT.md Compliance bulk update. Add CODE_OF_CONDUCT.md 2024-10-16 17:15:53 +02:00
CONTRIBUTING.md Compliance bulk update. Add CONTRIBUTING.md 2024-10-16 17:15:52 +02:00
LICENSE Add license file 2017-05-29 11:47:40 +02:00
project.clj Clean up dependencies 2016-10-03 13:41:44 +02:00
README.md align instructions to other sample apps 2016-04-18 14:52:55 +02:00

CF Sample App Clojure

A sample Clojure application to deploy to Cloud Foundry which works out of the box.

Run locally

  1. Install the Java JDK
  2. Install Leiningen
  3. Run lein run
  4. Visit http://localhost:3000

Run in the cloud

  1. Install the Java JDK
  2. Install Leiningen
  3. Install the cf CLI
  4. Run lein uberjar
  5. Run cf push my-clojure-app -p target/cf-sample-app-clojure-0.1.0-SNAPSHOT-standalone.jar -b https://github.com/cloudfoundry/java-buildpack.git --random-route
  6. Visit the given URL