Skip to content
A toy erlang app for lultastic image uploads. It's also probably pretty bad.
Erlang Shell
Find file
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
priv
src
.gitignore
Makefile
README.md
TODO.md
rebar.config
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.