Skip to content

Commit 4ecf372

Browse files
committed
Generate an uberjar during deployment.
1 parent bb93101 commit 4ecf372

File tree

3 files changed

+5
-3
lines changed

3 files changed

+5
-3
lines changed

Procfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
web: lein run
1+
web: java $JVM_OPTS -cp target/tryclojure-standalone.jar clojure.main -m tryclojure.server

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ TryClojure is a online Clojure REPL written using Noir and Chris Done's jquery c
88

99
http://tryclj.com
1010

11-
If you want to run it, refer to https://github.com/Raynes/tryclojure/wiki/Running-Tryclojure
11+
To run it locally, use `lein run`.
1212

1313
## Credits
1414

project.clj

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,7 @@
44
[noir "1.3.0-beta10"]
55
[commons-lang/commons-lang "2.5"]
66
[clojail "1.0.6"]]
7-
:jvm-opts ["-Djava.security.policy=example.policy""-Xmx80M"]
7+
:jvm-opts ["-Djava.security.policy=example.policy" "-Xmx80M"]
8+
:min-lein-version "2.0.0"
9+
:uberjar-name "tryclojure-standalone.jar"
810
:main tryclojure.server)

0 commit comments

Comments
 (0)