![]() the Ruby Gods say this works as well: ruby -run -e httpd. This spins up a Node.js httpd which serves the files in your directory as static files accessible from Ruby Start your http server by issuing http-server -c-1 Install http-server by typing npm install -g http-serverĬhange into your working directory, where your some.html lives Node.jsĪlternatively, if you demand a more responsive setup and already use nodejs. If you are using Visual Studio Code you can install the Live Server extension which provides a local web server enviroment. Python 3ĭo the same steps, but use the following command instead python3 -m rver VSCode
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |