- Ruby 2.7.0 minimum
-
Clone this repository
git clone https://github.com/KDesp73/Ruby-Web-Server
-
Run
bundle install
to install the necessary gems -
In selected directory run:
ruby ./run.rb <site-folder>
The server is now running on localhost:2000
-
Change the configuration from the 'config.yml' file if necessary
- Detect changes (Live Server functionality)