0
Fork 0
mirror of https://github.com/ninenines/cowboy.git synced 2025-07-14 12:20:24 +00:00
Small, fast, modern HTTP server for Erlang/OTP.
Find a file
Loïc Hoguin d8be610d4c Stop using rebar in the Makefile
First and foremost: yes, you can still use Cowboy as a rebar dependency.
This commit only removes the use of rebar when *developing* Cowboy, not
when *using* Cowboy.

Over the past two years I went from very happy with rebar to unsatisfied
and most recently found it counter productive in many ways, from having
insane default configuration to various unefficient operations. The earlier
reversal from 'rebar ct' to 'ct_run' made my workflow much more natural,
as I always needed to look at 'logs/raw.log' to find out what was wrong,
anyway. Why not let 'ct_run' output it directly instead? Removing rebar
made my life easier.

If you wonder why I don't patch rebar, there's two reasons. First is that
the direction taken by rebar isn't compatible with my views, and this
would be a huge fight to steer it in another direction. I got other,
more important fights to make. Second is that I'd rather patch OTP so
that everyone benefits from it, not just users of rebar.

Anyway this isn't my personal blog so I will stop babbling here. There's
a few important things to note relative to this commit:

 *  You don't need rebar to work on Cowboy anymore
 *  The eunit tests are now ran through common_test

Ping me if it doesn't work out for you.
2013-01-05 17:25:04 +01:00
doc Update version to 0.6.0 2012-05-23 14:53:48 +02:00
examples Add cookie example 2012-12-20 14:40:22 +01:00
guide Add middleware support 2013-01-03 22:47:51 +01:00
src Hello 2013 2013-01-04 15:10:03 +01:00
test Stop using rebar in the Makefile 2013-01-05 17:25:04 +01:00
.gitignore Add .cowboy.plt to the gitignore 2012-04-29 01:20:05 +02:00
AUTHORS Update AUTHORS file 2012-08-09 10:02:18 +02:00
CHANGELOG.md Small Markdown fixes to better follow the specs 2012-12-07 16:19:08 +01:00
CONTRIBUTING.md Add CONTRIBUTING.md file 2012-10-05 00:28:12 +02:00
LICENSE Update version to 0.6.0 2012-05-23 14:53:48 +02:00
Makefile Stop using rebar in the Makefile 2013-01-05 17:25:04 +01:00
README.md Salvage the README and move parts into the guide 2013-01-03 16:01:49 +01:00
rebar.config Stop using rebar in the Makefile 2013-01-05 17:25:04 +01:00
ROADMAP.md Small Markdown fixes to better follow the specs 2012-12-07 16:19:08 +01:00

Cowboy

Cowboy is a small, fast and modular HTTP server written in Erlang.

Goals

Cowboy aims to provide a complete HTTP stack in a small code base. It is optimized for low latency and low memory usage, in parts because it uses binary strings.

Cowboy provides routing capabilities, selectively dispatching requests to handlers written in Erlang.

Because it uses Ranch for managing connections, Cowboy can easily be embedded in any other application.

No parameterized module. No process dictionary. Clean Erlang code.

Getting Started

  • Read the guide
  • Look at the examples in the examples/ directory
  • Build API documentation with make docs; open doc/index.html

Support