Dark Mode

Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
This repository was archived by the owner on Nov 19, 2018. It is now read-only.

Latest commit

History

History

fileserver

Folders and files

NameName
Last commit message
Last commit date

parent directory

..

README.md

fileserver

Simple handling of multi-part form data from file-uploader framwork. Uses webmachine so assumes som familiarity with that.

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

  1. Get the latest build of file-uploader and place in the right directories under priv/www/static/. e.g. place file fineuploader-{VERSION}.js in priv/www/static/js/.

  2. Update priv/www/static/html/index.html to reflect correct version files

  3. Get dependencies and Build the application: $ ./rebar get-deps $ ./rebar compile

  4. Start up the application: $ ./start.sh

  5. Upload some files localhost:8000

Notes

  1. Currently all files are saved to /tmp to change this edit the despatch.conf file ( look for '/tmp' ).

  2. You will have to edit the fineuploader-{VERSION}.css file so that the image paths are relative. i.e. background: url("../img/loading.gif"), etc.