Skip to content
This repository

A REST-based system for building web applications.

branch: develop

Merge pull request #191 from openx/remove_now

replace use of now() with os:timestamp(), to remove some lock contention
latest commit 96fd1e5b97
Reid Draper reiddraper authored
Octocat-spinner-32 demo Rework Webmachine error logging to use the built-in log handler August 16, 2013
Octocat-spinner-32 docs initial import March 15, 2009
Octocat-spinner-32 ebin Replace static webmachine.app file with webmachine.app.src January 03, 2013
Octocat-spinner-32 include Change some webmachine include_lib statements to includes August 16, 2013
Octocat-spinner-32 priv fix template rebar.config to specify correct webmachine version March 28, 2013
Octocat-spinner-32 scripts validate project name passed to new_webmachine.sh October 23, 2012
Octocat-spinner-32 src replace use of now() with os:timestamp(), to remove some lock contention February 14, 2014
Octocat-spinner-32 test fix unit tests for Erlang/OTP R16 September 08, 2013
Octocat-spinner-32 www allow apps to supply custom reason phrases for HTTP response codes April 25, 2013
Octocat-spinner-32 .gitignore Use tools.mk in Makefile January 17, 2014
Octocat-spinner-32 .hgignore use rebar's eunit support instead of scripts/run_tests.escript [bz 365] July 08, 2010
Octocat-spinner-32 .hgtags Added tag webmachine-1.7.3 for changeset a2a83469ba58 October 21, 2010
Octocat-spinner-32 .travis.yml Update .travis.yml to use the most recent releases of Erlang OTP December 05, 2013
Octocat-spinner-32 Emakefile initial import March 15, 2009
Octocat-spinner-32 LICENSE initial import March 15, 2009
Octocat-spinner-32 Makefile Use tools.mk in Makefile January 17, 2014
Octocat-spinner-32 README.org Add Travis CI hook and build status. June 27, 2012
Octocat-spinner-32 THANKS Update THANKS file. July 05, 2011
Octocat-spinner-32 rebar Standardize on a rebar.config dep format to reduce conflicts October 16, 2013
Octocat-spinner-32 rebar.config Add xref target January 28, 2014
Octocat-spinner-32 rebar.config.script Switch from Makefile to rebar.config.script for old_hash define July 18, 2013
Octocat-spinner-32 start-dev.sh re-added reloaded startup option March 26, 2009
Octocat-spinner-32 start.sh initial import March 15, 2009
Octocat-spinner-32 tools.mk Add xref target January 28, 2014
README.org

webmachine

Overview

Travis-CI :: https://secure.travis-ci.org/basho/webmachine.png

Webmachine is an application layer that adds HTTP semantic awareness on top of the excellent bit-pushing and HTTP syntax-management provided by mochiweb, and provides a simple and clean way to connect that to your application’s behavior.

More information is available here.

Quick Start

A shell script is provided in the webmachine repository to help users quickly and easily create a new webmachine application.

git clone git://github.com/basho/webmachine.git
cd webmachine
./scripts/new_webmachine.sh mydemo

A destination path can also be passed to the new_webmachine.sh script.

./scripts/new_webmachine.sh mydemo ~/webmachine_applications

Once a new application has been created it can be built and started.

cd mydemo
make
./start.sh

The application will be available at http://localhost:8000.

To learn more continue reading here.

Contributing

We encourage contributions to webmachine from the community.

  1. Fork the webmachine repository on Github.
  2. Clone your fork or add the remote if you already have a clone of the repository.
git clone git@github.com:yourusername/webmachine.git
# or
git remote add mine git@github.com:yourusername/webmachine.git
  1. Create a topic branch for your change.
git checkout -b some-topic-branch
  1. Make your change and commit. Use a clear and descriptive commit message, spanning multiple lines if detailed explanation is needed.
  2. Push to your fork of the repository and then send a pull-request through Github.
git push mine some-topic-branch
  1. A Basho engineer or community maintainer will review your patch and merge it into the main repository or send you feedback.
Something went wrong with that request. Please try again.