https://github.com/zk/cljs-server
A live console site for cljs.
https://github.com/zk/cljs-server
Last synced: 9 months ago
JSON representation
A live console site for cljs.
- Host: GitHub
- URL: https://github.com/zk/cljs-server
- Owner: zk
- Created: 2011-02-11T01:55:57.000Z (almost 15 years ago)
- Default Branch: master
- Last Pushed: 2011-04-20T08:09:55.000Z (over 14 years ago)
- Last Synced: 2025-04-01T17:28:17.225Z (9 months ago)
- Language: JavaScript
- Homepage: http://github.com/zkim/cljs
- Size: 488 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# cljs-server
## Usage
Setup's a bit convoluted right now:
1. `mkdir cljs-stuff`
2. `cd cljs-stuff`
3. `git clone https://github.com/zkim/nsfw.git`
4. `git clone https://zkim@github.com/zkim/cljs.git`
5. `git clone https://zkim@github.com/zkim/cljs-server.git`
6. `cd nsfw && lein install`
7. `cd ../cljs && lein install`
8. `cd ../cljs-server`
9. `lein deps && lein swank`
10. Connect to swank
11. repl=> `(use cljs.watch)`
12. repl=> `(start-watch-project "./project.clj")`. This starts the cljs compiler, which recompiles cljs -> js on source changes in the `src/cljs` directory.
13. repl=> `(use cljs-server.dev)`. This will start the server at port 8080.
14. http://localhost:8080
cljs sources are found in `cljs-server/src/cljs/`.
## License
Copyright (C) 2010 FIXME
Distributed under the Eclipse Public License, the same as Clojure.