• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..03-May-2022-

docs/H03-May-2022-

include/H06-Apr-2018-8263

priv/H06-Apr-2018-10890

src/H03-May-2022-6,3354,749

test/H06-Apr-2018-2,0311,486

.travis.ymlH A D06-Apr-2018262 1514

LICENSEH A D06-Apr-20189.9 KiB179150

MakefileH A D06-Apr-2018548 2917

README.mdH A D06-Apr-20182.7 KiB10369

THANKSH A D06-Apr-2018344 2422

rebar.configH A D03-May-2022546 2318

rebar.config.scriptH A D06-Apr-2018650 1514

rebar.lockH A D06-Apr-2018127 54

README.md

1webmachine
2==========
3
4This project began at [Basho](http://basho.com), the creators and
5maintainers of Riak. Due to the importance of webmachine to the
6broader Erlang community, a new organization was formed. Please
7contact [@seancribbs](http://github.com/seancribbs) to get involved.
8
9### Overview
10
11[![Build Status](https://travis-ci.org/webmachine/webmachine.svg?branch=develop)](https://travis-ci.org/webmachine/webmachine)
12
13Webmachine is an application layer that adds HTTP semantic awareness
14on top of the excellent bit-pushing and HTTP syntax-management
15provided by mochiweb, and provides a simple and clean way to connect
16that to your application's behavior.
17
18More information is available
19[here](https://github.com/webmachine/webmachine/wiki). You can also
20read past blog posts about Webmachine
21[here](http://basho.com/tag/webmachine/).
22
23### Development
24
25Webmachine is a [rebar3](http://rebar3.org) project.
26
27Running all tests and dialyzer is as easy as
28
29```
30make all
31```
32
33However, if you'd like to run them separately:
34
35* EUnit: `rebar3 eunit`
36* Dialyzer: `rebar3 dialyzer`
37
38
39If you don't have `rebar3`, you should get it. If you don't want to,
40it's downloaded as part of `make all`
41
42### Quick Start
43
44A [rebar3](http://rebar3.org) template is provided for users quickly
45and easily create a new `webmachine` application.
46
47```
48$ mkdir -p ~/.config/rebar3/templates
49$ git clone https://github.com/webmachine/webmachine-rebar3-template.git ~/.config/rebar3/templates
50$ rebar3 new webmachine your_app_here
51```
52
53Once a new application has been created it can be built and started.
54
55```
56$ cd your_app_here
57$ rebar3 release
58$ _build/default/rel/your_app_here/bin/your_app_here console
59```
60
61The application will be available at [http://localhost:8080](http://localhost:8080).
62
63To learn more continue reading [here](https://github.com/webmachine/webmachine/wiki).
64
65### Contributing
66
67   We encourage contributions to `webmachine` from the community.
68
69   1) Fork the `webmachine` repository on [Github](https://github.com/webmachine/webmachine).
70
71   2) Clone your fork or add the remote if you already have a clone of
72   the repository.
73
74```
75git clone git@github.com:yourusername/webmachine.git
76```
77
78or
79
80```
81git remote add mine git@github.com:yourusername/webmachine.git
82```
83
84   3) Create a topic branch for your change.
85
86```
87git checkout -b some-topic-branch
88```
89
90   4) Make your change and commit. Use a clear and descriptive commit
91      message, spanning multiple lines if detailed explanation is
92      needed.
93
94   5) Push to your fork of the repository and then send a pull-request
95      through Github.
96
97```
98git push mine some-topic-branch
99```
100
101   6) A community maintainer will review your pull request and merge
102      it into the main repository or send you feedback.
103