Home > erlang-sched-http

erlang-sched-http

Erlang-sched-http is a project mainly written in ERLANG and SHELL, it's free.

A prototype of Webmachine HTTP server for schedule browsing

Project Skeleton for the wm_sched app.

You should find in this directory:

README : this file Makefile : simple make commands rebar : the Rebar build tool for Erlang applications rebar.config : configuration for Rebar start.sh : simple startup script for running wm_sched /ebin /wm_sched.app : the Erlang app specification /src /wm_sched_app.erl : base module for the Erlang application /wm_sched_sup.erl : OTP supervisor for the application /wm_sched_resource.erl : a simple example Webmachine resource /priv /dispatch.conf : the Webmachine URL-dispatching table /www : a convenient place to put your static web content

You probably want to do one of a couple of things at this point:

  1. Build the skeleton application: $ make

    • or - $ ./rebar compile
  2. Start up the skeleton application: $ ./start.sh

  3. Change the basic application: edit src/wm_sched_resource.erl

  4. Add some new resources: edit src/YOUR_NEW_RESOURCE.erl edit priv/dispatch.conf