https://github.com/coast-framework/template
A template for coast projects
https://github.com/coast-framework/template
clojure coast
Last synced: 7 months ago
JSON representation
A template for coast projects
- Host: GitHub
- URL: https://github.com/coast-framework/template
- Owner: coast-framework
- Created: 2018-03-08T07:43:38.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2022-10-28T21:46:07.000Z (about 3 years ago)
- Last Synced: 2025-06-04T11:13:20.523Z (7 months ago)
- Topics: clojure, coast
- Language: Clojure
- Homepage:
- Size: 168 KB
- Stars: 3
- Watchers: 2
- Forks: 3
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# {{name}}
## Start
```bash
git clone git@github.com:your-user-name/{{name}}.git
cd {{name}}
make db/create
make db/migrate
```
## Dev
```bash
make repl # starts an nrepl server
```
```clojure
; in your editor, connect to the nrepl server
; in atom with proto-repl, it's Ctrl+Cmd+Y then enter
; then when you're in the repl evaluate -main
(-main)
```
```bash
curl http://localhost:1337 # or just open it in your browser
```
## Ship
```bash
make db/migrate
make assets
make uberjar
java -jar target/{{name}}.jar -m server 1337
```