An open API service indexing awesome lists of open source software.

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

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
```