A barebones project app using:
This application supports the Getting Started on Heroku with Node.js article - check it out.
Make sure you have Node.js, Clojurescript, and the Heroku CLI setup on your machine.
TL;DR In 3 terminal windows, run:
$ npm run start
$ npm run watch
$ npm run scss
Default credentials are:
demo
: demo
In another terminal window, run the ClojureScript. To compile the CLJS located in ./src/app
, run:
$ npm run watch
In another terminal window, compile your SCSS. To compile the SCSS, run:
$ npm run scss
// Or run
$ node-sass scss/main.scss public/stylesheets/main.css
// To watch for changes, add `-w` or `--watch`
$ node-sass scss/main.scss public/stylesheets/main.css -w
Your app should now be running on localhost:5000.
Username and Password can be set in the ./index.js
file.
Default credentials are:
demo
: demo
$ heroku create
$ git push heroku master
$ heroku open