GithubHelp home page GithubHelp logo

Comments (4)

mike-thompson-day8 avatar mike-thompson-day8 commented on May 25, 2024

@martimatix
Could you give a more concrete example, please? I'm not understanding what you mean by "installation instructions".

Do you mean something like this:
https://purelyfunctional.tv/guide/how-to-install-clojure/

from re-frame-template.

martimatix avatar martimatix commented on May 25, 2024

Suppose you're brand new to the world of Clojure and Clojurescript. You've read about the new re-frame design on reddit. You start reading about re-frame and you're sold. "I want to get started," you think to yourself. You go to the Start Coding page and see that there's a template to scaffold your project (this repo).

You're on a Mac and have run brew install clojure but don't really know much about Clojure or Leiningen.

You click on the link to this repo and start reading the readme. You read that you need to run lein new re-frame <project-name> but how do you install it? That is to say, if I run git clone https://github.com/day8/re-frame-template.git in any old directory, Leiningen won't be able to find it.

For the sake of Clojurescript newbies, I was suggesting that something like this be added:

  1. clone this repo
  2. copy src/leiningen/new to ~/.m2/repository
    (by the way, is there an easier way?)

That was a long winded way of describing the situation that I found myself in. I ended up having to search for installing Leiningen templates and found this page.

Going through this experience prompted me to open this issue.

from re-frame-template.

martimatix avatar martimatix commented on May 25, 2024

Never mind, turns out that you don't need to clone this repo at all. 🤦‍♂️

lein new re-frame <project-name> is all you need.

from re-frame-template.

mike-thompson-day8 avatar mike-thompson-day8 commented on May 25, 2024

I'm glad you worked it out.

But you got me thinking, and I added this to the README https://github.com/day8/re-frame-template/blob/master/README.md#before-you-start.

from re-frame-template.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.