https://github.com/hiteshjasani/jasani-cljs-node-template
A lein template for a simple clojurescript app running on nodejs
https://github.com/hiteshjasani/jasani-cljs-node-template
clojurescript lein-template nodejs
Last synced: 4 months ago
JSON representation
A lein template for a simple clojurescript app running on nodejs
- Host: GitHub
- URL: https://github.com/hiteshjasani/jasani-cljs-node-template
- Owner: hiteshjasani
- License: epl-1.0
- Created: 2018-03-05T17:07:20.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2018-03-26T17:20:39.000Z (about 7 years ago)
- Last Synced: 2024-11-28T13:08:11.957Z (7 months ago)
- Topics: clojurescript, lein-template, nodejs
- Language: Clojure
- Homepage:
- Size: 17.6 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# jasani-cljs-node
[](http://clojars.org/jasani-cljs-node/lein-template)
[](https://clojars.org/jasani-cljs-node/lein-template)A Leiningen template for generating a simple clojurescript project
that can run on [nodejs](https://nodejs.org/).## Usage
Make sure you have the prerequisites installed.
1. `lein new jasani-cljs-node myapp`
2. `cd myapp`
3. `lein cljsbuild once`You'll see info about the compilation.
``` shell
Compiling ClojureScript...
Compiling ["target/myapp/myapp.js"] from ["src"]...
Successfully compiled ["target/myapp/myapp.js"] in 4.357 seconds.
```4. `node target/myapp/myapp.js`
## Prerequisites
* [nodejs & npm](https://nodejs.org/en/)
* [leiningen](https://leiningen.org)## License
Copyright © 2018 Hitesh Jasani
Distributed under the Eclipse Public License either version 1.0 or (at
your option) any later version.