-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
65 additions
and
93 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,50 @@ | ||
# A ClojureScript Cheatsheet | ||
|
||
This project produces the cheatsheet found at [cljs.info/cheatsheet]. | ||
|
||
## Design | ||
|
||
TODO: write this section | ||
|
||
## Development Setup | ||
|
||
TODO: write this section | ||
##### First time setup | ||
|
||
## Design | ||
Install [Leiningen] and [Node.js] | ||
|
||
TODO: write this section | ||
```sh | ||
# install node_modules | ||
npm install | ||
``` | ||
|
||
##### Development workflow | ||
|
||
You may wish to run these commands in separate console tabs / screens. | ||
|
||
```sh | ||
# compile LESS into CSS whenever a .less file changes | ||
grunt watch | ||
|
||
# run a local web server on port 9224 | ||
# the port is configurable and defaults to 8888 if not provided | ||
node server.js 9224 | ||
|
||
# compile ClojureScript files | ||
lein clean && lein cljsbuild auto | ||
|
||
# build public/index.html | ||
# NOTE: app.js is generated from "lein cljsbuild auto" above | ||
node app.js | ||
|
||
# create a build into the 00-publish directory | ||
grunt build | ||
``` | ||
|
||
## License | ||
|
||
All code licensed under the terms of the [MIT License]. | ||
|
||
[cheatsheet]:http://cljs.info/cheatsheet | ||
[cljs.info/cheatsheet]:http://cljs.info/cheatsheet | ||
[Leiningen]:http://leiningen.org | ||
[Node.js]:http://nodejs.org | ||
[MIT License]:https://github.com/oakmac/cljs-cheatsheet/blob/master/LICENSE.md |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters