Home

Awesome

re-marfer

My deps-new template for a minimal re-frame SPA.

It's based on the static repo kees-/t01-rf-template, which edited day8/re-frame-template based on changes I made while creating projects.

However this template can be installed in one command thanks to deps-new!


To run the app

Make sure Clojure and deps-new are installed.

Run:

clj \      
  -Sdeps '{:deps {io.github.kees-/re-marfer {:git/tag "0.1.0" :git/sha "7e42a3a"}}}' \
  -Tnew create \
    :template kees/re-marfer \
    :name your/app-name

replacing your/app-name.

Note the additional dash due to my github username in io.github.kees-/re-marfer which isn't in :template kees/re-marfer.

To complete setup,

cd app-name
npm install

Then jack in with your code editor, or as a fallback, $ npm run watch and connect to the REPL.

Browse to http://localhost:8280/ to establish the JS runtime and see the initial webpage.


What's changed?