Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

A toy erlang app for lultastic image uploads. It's also probably pretty bad.

branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 priv
Octocat-spinner-32 src
Octocat-spinner-32 .gitignore
Octocat-spinner-32 Makefile
Octocat-spinner-32 README.md
Octocat-spinner-32 TODO.md
Octocat-spinner-32 rebar.config
Octocat-spinner-32 start.sh
README.md

Lulscale

A toy Erlang/OTP application for an image upload service.

Built on webmachine and riak.

Contents

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 lulscale
  • /ebin
    • /lulscale.app : the Erlang app specification
  • /src
    • /lulscale_app.erl : base module for the Erlang application
    • /lulscale_sup.erl : OTP supervisor for the application
    • /lulscale_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

Building the app

brew install erlang rebar
make

Adding New Resources

Create a new resource file:

src/YOUR_NEW_RESOURCE.erl

And add the resource to:

priv/dispatch.conf

Running the Server

./start.sh
Something went wrong with that request. Please try again.