Permalink
Browse files

Generate an uberjar during deployment.

  • Loading branch information...
1 parent bb93101 commit 4ecf3727bdb5aa790de00dc298ba9b14d5cf2257 @technomancy technomancy committed Jul 1, 2013
Showing with 5 additions and 3 deletions.
  1. +1 −1 Procfile
  2. +1 −1 README.md
  3. +3 −1 project.clj
View
@@ -1 +1 @@
-web: lein run
+web: java $JVM_OPTS -cp target/tryclojure-standalone.jar clojure.main -m tryclojure.server
View
@@ -8,7 +8,7 @@ TryClojure is a online Clojure REPL written using Noir and Chris Done's jquery c
http://tryclj.com
-If you want to run it, refer to https://github.com/Raynes/tryclojure/wiki/Running-Tryclojure
+To run it locally, use `lein run`.
## Credits
View
@@ -4,5 +4,7 @@
[noir "1.3.0-beta10"]
[commons-lang/commons-lang "2.5"]
[clojail "1.0.6"]]
- :jvm-opts ["-Djava.security.policy=example.policy""-Xmx80M"]
+ :jvm-opts ["-Djava.security.policy=example.policy" "-Xmx80M"]
+ :min-lein-version "2.0.0"
+ :uberjar-name "tryclojure-standalone.jar"
:main tryclojure.server)

0 comments on commit 4ecf372

Please sign in to comment.