An open API service indexing awesome lists of open source software.

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

Awesome Lists containing this project

README

          

# Ruby Web Server

## A simple functional server made with pure Ruby.

![server index](https://user-images.githubusercontent.com/63654361/216193983-89083007-d1aa-44f4-b711-60ef24be02ec.png)

## 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)