Commits

Anonymous committed 63a9364

adding quickstart

  • Participants
  • Parent commits 2c6ce70

Comments (0)

Files changed (1)

+== Getting going right away. ==
+
+Make sure that you have a working Erlang/OTP release, preferably R12B3 or later.
+
+Get the webmachine code:
+
+{{{
+#!bash
+hg clone http://bitbucket.org/justin/webmachine/ webmachine-read-only
+}}}
+
+Build webmachine and mochiweb:
+
+{{{
+#!bash
+cd webmachine-read-only
+make
+}}}
+
+Create, build, and start the skeleton resource:
+
+{{{
+#!bash
+./scripts/new_webmachine.erl mywebdemo /tmp
+cd /tmp/mywebdemo
+make
+./start.sh
+}}}
+
+Take a look! Point a web browser at http://localhost:8000/
+
+To make this resource handle URI paths other than /, modify the [[DispatchConfiguration]] term in /tmp/mywebdemo/src/mywebdemo_sup.erl; to make that resource to more interesting things, modify the [[WebmachineResources|resource]] itself at /tmp/mywebdemo/src/mywebdemo_resource.erl.
+
+To learn how to do more interesting things, read the [[Home|rest of this wiki]]. 
+
+{{{
+#!erlang
+-include_lib("webmachine/include/webmachine.hrl").
+}}}
+