Skip to content

Instantly share code, notes, and snippets.

@vharmain
Created October 7, 2018 15:24
Show Gist options
  • Save vharmain/896ec4cfa7ee80cc063886b8aff2ed31 to your computer and use it in GitHub Desktop.
Save vharmain/896ec4cfa7ee80cc063886b8aff2ed31 to your computer and use it in GitHub Desktop.

Lumo - A simple example how to get started

  1. download lumo, add it to PATH and make it executable (on a Mac as simple as brew install lumo but I think you can also use npm install -g lumo to achieve the same thing)
  2. mkdir my-project && cd my-project
  3. npm install request request-promise
  4. touch core.cljs
  5. use your favourite editor to edit core.cljs
(ns my-project.core)

(require '[request-promise :as rp])

(-> (rp "http://www.google.com")
    (.then println))
  1. save and execute with lumo core.cljs
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment