Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/arichiardi/hello-world-cljsbuild-issue
https://github.com/arichiardi/hello-world-cljsbuild-issue
Last synced: 22 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/arichiardi/hello-world-cljsbuild-issue
- Owner: arichiardi
- Created: 2015-10-12T21:11:48.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2015-10-12T21:26:16.000Z (about 9 years ago)
- Last Synced: 2024-10-22T13:56:27.376Z (2 months ago)
- Language: JavaScript
- Size: 660 KB
- Stars: 0
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# hello-world
FIXME: Write a one-line description of your library/project.
## Overview
FIXME: Write a paragraph about the library/project and highlight its goals.
## Setup
Build your project once in dev mode with the following script and then open `index.html` in your browser.
./scripts/build
To auto build your project in dev mode:
./script/watch
To start an auto-building Node REPL (requires
[rlwrap](http://utopia.knoware.nl/~hlub/uck/rlwrap/), on OS X
installable via brew):./scripts/repl
To get source map support in the Node REPL:
lein npm install
To start a browser REPL:
1. Uncomment the following lines in src/hello_world/core.cljs:
```clojure
;; (defonce conn
;; (repl/connect "http://localhost:9000/repl"))
```
2. Run `./scripts/brepl`
3. Browse to `http://localhost:9000` (you should see `Hello world!` in the web console)
4. (back to step 3) you should now see the REPL prompt: `cljs.user=>`
5. You may now evaluate ClojureScript statements in the browser context.
For more info using the browser as a REPL environment, see
[this](https://github.com/clojure/clojurescript/wiki/The-REPL-and-Evaluation-Environments#browser-as-evaluation-environment).
Clean project specific out:lein clean
Build a single release artifact with the following script and then open `index_release.html` in your browser../scripts/release
## License
Copyright © 2015 FIXME
Distributed under the Eclipse Public License either version 1.0 or (at your option) any later version.