[ANN] Serve 0.9.0 Released

Discussion in 'Ruby' started by John W. Long, Sep 25, 2007.

  1. John W. Long

    John W. Long Guest

    Serve version 0.9.0 has been released!

    * <http://serve.rubyforge.org>

    == What is Serve?

    Serve is a small Ruby script that makes it easy to start a WEBrick
    server in any directory. Serve is ideal for HTML prototyping and
    simple file sharing. If the haml, redcloth, and bluecloth gems are
    installed serve can handle Haml, Sass, Textile, and Markdown (in
    addition to HTML).


    == Usage

    At a command prompt all you need to type to start serve is:

    $ serve

    This will launch a WEBrick server which you can access from any Web
    browser at the following address:

    http://localhost:3000

    Once the server is going it will output a running log of its activity.
    To stop the server at any time, type CTRL+C at the command prompt. By
    default the serve command serves up files from the current directory.
    To change this behavior, `cd` to the appropriate directory before
    starting serve.


    == Advanced Options

    The serve command automatically binds to 0.0.0.0 (localhost) and uses
    port 3000 by default. To serve files over a different IP (that is
    bound to your computer) or port specify those options on the command
    line:

    $ serve 4000 # a custom port

    $ serve 192.168.1.6 # a custom IP

    $ serve 192.168.1.6:4000 # a custom IP and port


    == Rails Applications

    For your convenience if the file "script/server" exists in the current
    directory the serve command will start that instead of launching a
    WEBrick server. You can specify the environment that you want to start
    the server with as an option on the command line:

    $ serve production # start script/server in production mode


    == Installation and Setup

    It is recommended that you install serve via RubyGems:

    $ sudo gem install serve


    == License

    Serve is released under the MIT license and is copyright (c) John W.
    Long. A copy of the MIT license can be found in the link:License.txt
    file.


    Enjoy!

    --
    John Long
    http://wiseheartdesign.com
    John W. Long, Sep 25, 2007
    #1
    1. Advertising

  2. John W. Long

    Tim Pease Guest

    On 9/25/07, John W. Long <> wrote:
    > Serve version 0.9.0 has been released!
    >
    > * <http://serve.rubyforge.org>
    >
    > == What is Serve?
    >
    > Serve is a small Ruby script that makes it easy to start a WEBrick
    > server in any directory. Serve is ideal for HTML prototyping and
    > simple file sharing. If the haml, redcloth, and bluecloth gems are
    > installed serve can handle Haml, Sass, Textile, and Markdown (in
    > addition to HTML).
    >


    Take a look at the "launchy" gem. It can be used to start up the
    default web browser and point it to your WEBrick instance. Just
    another nicety for the user.

    Blessings,
    TwP
    Tim Pease, Sep 25, 2007
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Ricky K. Rasmussen

    Serve ASP.NET control through custom RequestHandler

    Ricky K. Rasmussen, Jun 7, 2004, in forum: ASP .Net
    Replies:
    3
    Views:
    1,676
    John Saunders
    Jun 7, 2004
  2. =?Utf-8?B?UmV6YSBTb2xvdWtp?=

    The web serve has been locked down and is blocking the Debug verb.

    =?Utf-8?B?UmV6YSBTb2xvdWtp?=, Nov 24, 2004, in forum: ASP .Net
    Replies:
    3
    Views:
    3,595
    Ben Strackany
    Nov 24, 2004
  3. Patrice
    Replies:
    3
    Views:
    340
  4. Shawn
    Replies:
    2
    Views:
    567
    Shawn
    Jun 24, 2005
  5. =?Utf-8?B?c2hla2hhcnRncw==?=

    How to debug an ASP.NET web application residing on a remote serve

    =?Utf-8?B?c2hla2hhcnRncw==?=, Nov 15, 2005, in forum: ASP .Net
    Replies:
    1
    Views:
    347
    Cowboy \(Gregory A. Beamer\)
    Nov 15, 2005
Loading...

Share This Page