2020-05-04 13:32:50 +02:00
|
|
|
# Clojure Boilerplate
|
|
|
|
|
|
|
|
This boilerplate uses `lein` to manage the project.
|
|
|
|
|
|
|
|
## Files to change
|
|
|
|
|
|
|
|
To use this boilerplate, run the following in a shell:
|
|
|
|
|
|
|
|
```shell
|
2021-12-24 00:30:31 +01:00
|
|
|
$ cp -r . path/to/new-project
|
2020-05-04 13:32:50 +02:00
|
|
|
```
|
|
|
|
|
|
|
|
After running the above command, change the following files to remove the
|
|
|
|
placeholder values:
|
|
|
|
|
|
|
|
- `README.md`: Change the title; change the description; drop "Files to change";
|
|
|
|
keep "Getting started"
|
|
|
|
- `project.clj`: Change title
|
2020-06-16 12:51:57 +02:00
|
|
|
- `src/main.clj`: Change `:doc`; drop `main/foo`
|
2020-05-04 13:32:50 +02:00
|
|
|
|
|
|
|
## Getting started
|
|
|
|
|
|
|
|
From a shell, run:
|
|
|
|
|
|
|
|
```shell
|
|
|
|
$ lein repl
|
|
|
|
```
|
|
|
|
|
|
|
|
From Emacs, navigate to a source code buffer and run:
|
|
|
|
|
|
|
|
```
|
|
|
|
M-x cider-jack-in
|
|
|
|
```
|