Skip to content

Commit 23d6c36

Browse files
author
Edward Paget
committed
Update README
1 parent ef289d9 commit 23d6c36

File tree

2 files changed

+63
-1
lines changed

2 files changed

+63
-1
lines changed

README.md

+63
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,63 @@
1+
# REPLME
2+
[REPLME](http://replme.clojurecup.com) is a project aimed at making
3+
it easy to try out Clojure software by providing a containerized
4+
environment to download libraries and run them.
5+
6+
## TryIt
7+
8+
If you're running this on REPLME. Here are some examples to click on
9+
and try;
10+
11+
```clojure
12+
(reduce * 10 [2 3 4 50])
13+
```
14+
15+
```clojure
16+
(doseq [n (range 0 50)]
17+
(println n))
18+
```
19+
20+
```clojure
21+
(wontwork!)
22+
```
23+
24+
```clojure
25+
(defn afn
26+
[an-arg-fn]
27+
(->> (map an-argn-fn [1 2 3 4 3 2 9 3])
28+
(map pr-str)
29+
(apply str)))
30+
31+
(afn #(vector (* 10 %) (* 100 %)))
32+
```
33+
34+
```clojure
35+
(require '[clojure.string :as str :refer [join]])
36+
37+
(join ["Vote" "for" "us" "in" "the" "Clojure" "Cup!"] " ")
38+
```
39+
40+
## Usage
41+
42+
REPLME uses [Docker](http://docker.com) to run nREPL which it then
43+
connects to over Websokets. To run REPLME you'll need a machine with
44+
Docker installed. Since non-Linux computers cannot run Docker natively
45+
we provide a Vagrant file, compatible with Vagrant > 1.5 and VirtualBox
46+
> 4.3, configured to install Docker. To use
47+
48+
``` bash
49+
vagrant up
50+
vagrant ssh
51+
cd /vagrant
52+
lein run -m 8080 localhost:8181
53+
```
54+
55+
You'll also need to run `lein cljsbuild once` either on vagrant or
56+
your local machine to compile the front end.
57+
58+
Once you've done that
59+
60+
## License
61+
62+
Copyright 2014 Edward Paget and Alex Weiksnar
63+
[APGLv3](https://www.gnu.org/licenses/agpl-3.0.html). See LICENSE

README.org

-1
This file was deleted.

0 commit comments

Comments
 (0)