Skip to content

Commit d277156

Browse files
authored
Create README.md
1 parent 3649344 commit d277156

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

README.md

+23
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
# clojure-http-server
2+
3+
Bare-minimum clojure http-server that can be deployed to Heroku.
4+
5+
Prerequisites: Java and [Leiningen](https://leiningen.org/)
6+
7+
[Live Code Video](https://drive.google.com/file/d/1wpUdl0Njx5tygQvd0t3Mf0V-n4J_R-6G/view?usp=sharing)
8+
9+
## Developing
10+
11+
**REPL**:
12+
`lein repl` then `(start! 8080)`
13+
14+
**RUN (without REPL)**: `lein run 8080`
15+
16+
**UBERJAR**: `lein uberjar` then `java -jar target/app-0.0.1-standalone.jar 8080`
17+
18+
19+
## Deploying
20+
21+
After setting up an app on Heroku, `git push heroku master` should suffice.
22+
23+

0 commit comments

Comments
 (0)