Skip to content

miql/cljs-nodejs-example

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cljs-nodejs-example

An example of using ClojureScript to make a node.js app.

Deploy to Heroku

Requirements

  • lein
  • node.js

Steps

Run the following from the base project directory:

npm install
lein cljsbuild once

This will create the target/js/myexample.js file. This is what you can run with node.js:

node target/js/myexample.js

And there you go, a "Hello World!" that's over 12,000 lines of JavaScript!

Deploy

Create a Heroku app

heroku create
heroku buildpacks:add heroku/nodejs
heroku buildpacks:add heroku/clojure
git push heroku master

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Clojure 100.0%