simple-app-template/README.md

38 lines
1.4 KiB
Markdown
Raw Permalink Normal View History

2021-12-14 21:16:49 -05:00
# Leiningen Template: Simple Clojure App
A Leiningen template intended for creating new Clojure CLI app or tool projects using a simplified / stripped-down base.
This template primarily exists for my own personal use, so some stuff is definitely more oriented towards
my own particular preferences regarding setup and organization of a Clojure project.
## Usage
```text
$ lein new net.gered/simple-app [your-project-name-here]
```
The resulting project starts up via a `main` function and during startup expects to be able to read an EDN configuration file
located in the current working directory called `config.edn`.
The project can be run simply by:
```text
$ lein run
```
2021-12-21 18:52:05 -05:00
A nREPL server will be started which can be connected to on port 7000 (configured via the aforementioned `config.edn`).
2021-12-14 21:16:49 -05:00
2022-01-11 22:10:51 -05:00
## Other Templates!
I have a few other "simple" Leiningen project templates that are along the same vein as this one:
* [Simple Clojure Web Service](https://github.com/gered/simple-web-service-template) - For web services to be consumed by other apps.
* [Simple Clojure Web Site](https://github.com/gered/simple-web-site-template) - For web sites using only server-side rendered HTML (**no** ClojureScript!).
* [Simple Clojure / ClojureScript Web App](https://github.com/gered/simple-web-app-template) - For web apps using Clojure and ClojureScript.
2021-12-14 21:16:49 -05:00
## License
Copyright © 2021 Gered King
Distributed under the the MIT License. See LICENSE for more details.