Commits

Anonymous committed 6c61f4d

readme update and script fix

  • Participants
  • Parent commits acb7793

Comments (0)

Files changed (3)

File README

-git, hg ,erlang and believe it or not Sun JVM must be installed
-
-hg clone http://bitbucket.org/sj_mackenzie/earlybrew
-make bootstrap
-./earlybrew.sh <proj_name>
-make rel
-rel/earlybrew/bin/earlybrew console
-curl http://localhost:8000/static/index.html
-
-then put deps/coffeemachine under your own version control 
+Rational:
+
+This project aims to bring together some interesting pieces of software.
+
+Firstly the database is Riak, a tried and tested database capable of withstanding nuclear fallout.
+Earlybrew is an Erlang/OTP application designed to quickly and easily get you on your feet.
+
+Components:
+
+- Cappuccino is a NeXT port to javascript, it is a very solid API for
+  building desktop type user interfaces in the browser.
+- Webmachine a well behaved HTTP semantic layer on top of Mochiweb, a fantastic HTTP server.
+- Riakc is a Riak client which talks in protocol buffers to Riak.
+- Riak, a tried and tested database capable of withstanding nuclear fallout.
+
+git, hg ,Erlang and believe it or not Sun JVM must be installed
+
+hg clone http://bitbucket.org/sj_mackenzie/earlybrew
+make bootstrap
+./earlybrew.sh <proj_name>
+make rel
+rel/earlybrew/bin/earlybrew console
+curl http://localhost:8000/static/index.html
+
+then put apps/coffeemachine under your own version control

File earlybrew.sh

 TEMPLATEDIR=$PWD/t
 NEWWEBMACHINE=$PWD/deps/webmachine/scripts/new_webmachine.sh
 CAPP_BUILD=$PWD/deps/capinerlang/cappuccino-dist
+
+$(rm -fr $COFFEEMACHINE)
 $NEWWEBMACHINE coffeemachine apps &&
 capp gen $ABSPATH --build &&
+$(mv $ABSPATH/* $DESTDIR)
+$(rm -fr $ABSPATH)
 $(cp -f $TEMPLATEDIR/coffeemachine.app $COFFEEMACHINE/ebin/)
 $(cp -f $TEMPLATEDIR/dispatch.conf $COFFEEMACHINE/priv/ )
 $(cp -f $TEMPLATEDIR/static_resource.erl $COFFEEMACHINE/src/ )