Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
upgrade to r87, install priv/skel contents as well, add a
README.MacPorts for first instructions. git-svn-id: https://svn.macports.org/repository/macports/trunk/dports@40483 d073be05-634f-4543-b044-5fe20cf6d1d6
- Loading branch information
Caspar Florian Ebeling
committed
Oct 3, 2008
1 parent
86fabc6
commit 1170e06
Showing
2 changed files
with
54 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
|
||
== Getting started with mochiweb | ||
|
||
Run this command to create an empty web | ||
application project: | ||
|
||
$ escript /opt/local/share/scripts/new_mochiweb.erl myapp | ||
$ cd myapp | ||
$ make | ||
$ chmod u+x start-dev.sh | ||
$ ./start-dev.sh | ||
|
||
Then open a new terminal tab, because then current | ||
one becomes an erlang shell. There do: | ||
|
||
$ open http://localhost:8000 | ||
|
||
Your default browser should open and show a page | ||
containing "MochiWeb running." | ||
|
||
Start developing by modifiying | ||
src/APPNAME_web.erl, in the main loop case construct. | ||
|
||
C. Florian Ebeling <febeling@macports.org> | ||
2008-10-03 |