Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/nickserv/jobim
Popup HTTP Server for serving static content.
https://github.com/nickserv/jobim
Last synced: 23 days ago
JSON representation
Popup HTTP Server for serving static content.
- Host: GitHub
- URL: https://github.com/nickserv/jobim
- Owner: nickserv
- License: mit
- Created: 2013-10-06T07:37:07.000Z (about 11 years ago)
- Default Branch: master
- Last Pushed: 2014-02-18T02:51:52.000Z (over 10 years ago)
- Last Synced: 2024-08-02T11:59:15.625Z (3 months ago)
- Language: Ruby
- Size: 436 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Jobim
[![Gem Version](https://badge.fury.io/rb/jobim.png)](http://badge.fury.io/rb/jobim)
[![Build Status](https://secure.travis-ci.org/zellio/jobim.png?branch=master)](http://travis-ci.org/zellio/jobim)
[![Dependency Status](https://gemnasium.com/zellio/jobim.png)](https://gemnasium.com/zellio/jobim)
[![Code Climate](https://codeclimate.com/github/zellio/jobim.png)](https://codeclimate.com/github/zellio/jobim)`jobim` is a light utility for generating a static HTTP server. This allows
for rapid website design and development without the hassle and security risk
of a full web-server installation. `jobim` leverages
[Thin](//github.com/macournoyer/thin/) and exposes a limited subset of the
`thin` executable command flags for your convenience.## Installation
`jobim` is registered on [rubygems](//rubygems.org/gems/jobim) and is
available anywhere good gems are sold.``` shell
gem install jobim
```## Usage
```
Usage: jobim [OPTION]... [DIRECTORY]Specific options:
-a, --address HOST bind to HOST address (default: 0.0.0.0)
-d, --daemonize Run as a daemon process
-p, --port PORT use PORT (default: 3000)
-P, --prefix PATH Mount the app under PATH
-q, --quiet Silence all loggingGeneral options:
-h, --help Display this help message.
--version Display the version numberJobim home page:
Report bugs to:
````jobim` is run like `thin` but does not require a configuration script. By
default `jobim` will bind to `0.0.0.0:3000` and serve the current working
directory.``` shell
jobim path/to/webroot
```The site can be viewed at `http://localhost:3000` via a normal web browser.
## Contributing
1. Fork it
2. Create your feature branch (`git checkout -b my-new-feature`)
3. Commit your changes (`git commit -am 'Add some feature'`)
4. Push to the branch (`git push origin my-new-feature`)
5. Create new Pull Request## Copyright
Copyright (c) 2013-2014 Zachary Elliott. See [LICENSE](/LICENSE) for further details.