Comments (4)
@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.
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:
- clone this repo
- 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.
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.
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)
- Unable to run `lein dev` HOT 8
- npm dependency is culled out when I run lein dev HOT 20
- Add lein-scss option HOT 2
- The upgrade of shadow-cljs to 2.10.17 breaks cider-jack-in-cljs HOT 8
- server.clj errors when port is given from environment HOT 1
- REPL Jack-in is not working at the Calva under WSL2 HOT 4
- How to have the app.HASH.js being automatically referenced in the index.html? HOT 1
- Watch backend task HOT 2
- Add cider/cider-nrepl plugin HOT 3
- The required namespace "react" is not available HOT 7
- `lein watch` crashes on new project if `yarn` is used HOT 3
- Calva jack-in and connect broken since shift to shadow-cljs only
- Missing project.clj file HOT 3
- Make a fallback to index.html correctly HOT 1
- Hot reloading can break navigation with +routes option HOT 2
- Conduit is overrun with spam. Demo unviewable
- Browser console error - "The message port was closed before a response was received" HOT 3
- Template resource 'leiningen/new/re_frame/.github/workflows/test.yaml' not found. HOT 2
- clj-kondo config is not rendered correctly
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from re-frame-template.