Serves all the files in the current directory over HTTP on port 5000.
cd to the wished direcory and run (from command line):
ruby -run -e httpd . -p 5000
then browse to localhost:5000 in your browser
via: http://www.benjaminoakes.com/2013/09/13/ruby-simple-http-server-minimalist-rake/
Related posts by tag
- 07 Nov 2024 daisyUI — Tailwind CSS Components
- 04 Mar 2024 Using personal gems with Bundle without bothering your colleagues.
- 07 Feb 2023 How-to: Use Firefox for accessibility testing