oakes / Nightlight

An embedded editor for Clojure
https://sekao.net/nightlight/
The Unlicense
788 stars 35 forks source link

How do I get started with this thing? #27

Closed lwb4 closed 7 years ago

lwb4 commented 7 years ago

I added {:user {:plugins [[nightlight/lein-nightlight "1.6.3"]]}} to my ~/.lein/profiles.clj, and tried to run lein nightlight --port 4000, but the terminal said 'nightlight' is not a task.

I am a complete noob to 1) Leiningen, and 2) Clojure. Can you help me out with some kind of absolute beginner's guide? I would like to learn Clojure, and Nightlight sounds like a really interesting project concept.

oakes commented 7 years ago

Hmm I can't reproduce this...that is exactly what I have in my profiles.clj. Can you paste the entire output?

lwb4 commented 7 years ago

It just says 'nightlight' is not a task. run lein help

I just ran:

lein new app clojure-test
cd clojure-test
lein nightlight --port 4000

I literally haven't done anything else though. Is that all I'm supposed to do?

lwb4 commented 7 years ago

Oh, I figured it out. I also had this line in my profiles.clj:

{:user {:plugins [[cider/cider-nrepl "0.8.1"]]}}

For when I was using CIDER with Emacs, working through Brave Clojure. Interesting.

oakes commented 7 years ago

Ah gotcha, yeah you'd have to merge them together.