Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

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

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages