https://github.com/nickserv/jobim
Popup HTTP Server for serving static content.
https://github.com/nickserv/jobim
Last synced: over 1 year 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 (almost 13 years ago)
- Default Branch: master
- Last Pushed: 2014-02-18T02:51:52.000Z (over 12 years ago)
- Last Synced: 2025-03-10T11:07:50.535Z (over 1 year ago)
- Language: Ruby
- Size: 436 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Jobim
[](http://badge.fury.io/rb/jobim)
[](http://travis-ci.org/zellio/jobim)
[](https://gemnasium.com/zellio/jobim)
[](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 logging
General options:
-h, --help Display this help message.
--version Display the version number
Jobim 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.