1
Project Skeleton for the {{appid}} app.
3
You should find in this directory:
6
Makefile : simple make commands
7
rebar : the Rebar build tool for Erlang applications
8
rebar.config : configuration for Rebar
9
start.sh : simple startup script for running {{appid}}
11
/{{appid}}.app : the Erlang app specification
13
/{{appid}}_app.erl : base module for the Erlang application
14
/{{appid}}_sup.erl : OTP supervisor for the application
15
/{{appid}}_resource.erl : a simple example Webmachine resource
17
/dispatch.conf : the Webmachine URL-dispatching table
18
/www : a convenient place to put your static web content
20
You probably want to do one of a couple of things at this point:
22
0. Build the skeleton application:
27
1. Start up the skeleton application:
30
2. Change the basic application:
31
edit src/{{appid}}_resource.erl
33
3. Add some new resources:
34
edit src/YOUR_NEW_RESOURCE.erl
35
edit priv/dispatch.conf