This project was configured using the Reagent template: https://github.com/reagent-project/reagent-template
-
(optional) export JAVA_OPTS="-Dconfig=<PATH_TO_CONFIG.EDN>" <-- For custom port and basehost in the code generation. See example in config-example.edn
-
Run:
lein figwheel
-
Access a browser: http://localhost:3449
-
Generate jar:
lein uberjar
-
Run jar (with customConfig): java -jar -Dconfig=<PATH_TO_CUSTOM_CONFIG.EDN> target/pushit-clj.jar
{
:basehost "localhost"
:port 3449
}