https://github.com/kdesp73/ruby-web-server
A pure-ruby web server for static sites
https://github.com/kdesp73/ruby-web-server
http http-server ruby server
Last synced: about 1 year ago
JSON representation
A pure-ruby web server for static sites
- Host: GitHub
- URL: https://github.com/kdesp73/ruby-web-server
- Owner: KDesp73
- License: mit
- Created: 2023-02-01T22:04:20.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2023-10-20T20:38:25.000Z (over 2 years ago)
- Last Synced: 2025-01-23T06:09:19.409Z (about 1 year ago)
- Topics: http, http-server, ruby, server
- Language: Ruby
- Homepage: http://localhost:2000
- Size: 215 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Ruby Web Server
## A simple functional server made with pure Ruby.

## Requirements
* Ruby 2.7.0 minimum
## How to use it
1. Clone this repository
```bash
git clone https://github.com/KDesp73/Ruby-Web-Server
```
2. Run `bundle install` to install the necessary gems
3. In selected directory run:
```bash
ruby ./run.rb
```
The server is now running on localhost:2000
4. Change the configuration from the 'config.yml' file if necessary
## TODO
- [ ] Detect changes (Live Server functionality)
## Licence
[MIT](https://github.com/KDesp73/Ruby-Web-Server/blob/main/LICENSE)