Skip to content
This repository has been archived by the owner on Nov 8, 2020. It is now read-only.

A Yeoman starter seed for Clojure + ClojureScript stack (compojure, ring, reagent, figwheel, heroku support)

License

Notifications You must be signed in to change notification settings

bartholomews/generator-cljseed

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NPM
License: MIT

generator-cljseed

This project is not maintained, you are better off using a lein template, see https://clj-templates.com


A Yeoman starter seed for Clojure + ClojureScript stack

Prerequisites:

  • Yeoman:
    npm i -g yo

  • Leiningen:
    e.g. brew install leiningen on OS X, look up the wiki for other options

  • Heroku CLI:
    e.g. brew install heroku/brew/heroku

Not strictly required, but you can also use:

Install:

npm i -g generator-cljseed

Run:

yo cljseed

Inside your newly generated project, you can run commands such as:

  • lein fig:dev (to start a ClojureScript REPL with live reload)
  • lein fig:test (to run tests)
  • lein package (to build a jar)
  • heroku create your-project-name && lein heroku deploy
    • before deploying to heroku, you can override the default region with heroku create --region eu my-project
    • if you get "Name [your-project-name] is already taken", make sure to replace your Heroku project name also in project.clj under :heroku {:app-name field, otherwise the deployment will fail.