<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>server on IT Quicktasks</title><link>https://quicktasks.ismael.casimpan.com/tags/server/</link><description>Recent content in server on IT Quicktasks</description><generator>Hugo -- gohugo.io</generator><copyright>Copyright © 2018–2022, Ismael Casimpan Jr.; All Rights Reserved</copyright><lastBuildDate>Thu, 05 May 2022 00:20:25 +0800</lastBuildDate><atom:link href="https://quicktasks.ismael.casimpan.com/tags/server/index.xml" rel="self" type="application/rss+xml"/><item><title>Quick HTTP Server Using NPM Module</title><link>https://quicktasks.ismael.casimpan.com/post/quick-http-server-using-npm/</link><pubDate>Thu, 05 May 2022 00:20:25 +0800</pubDate><guid>https://quicktasks.ismael.casimpan.com/post/quick-http-server-using-npm/</guid><description>
If you ever need to serve your current directory via http for some reason, here's an NPM module solution
1~$ yarn global add serve And run this (it's automatically added to ~/.bashrc or equivalent on your shell):
1export PATH=&amp;#34;$HOME/.yarn/bin:$HOME/.config/yarn/global/node_modules/.bin:$PATH&amp;#34; and run
1~$ serve or
1~$ serve &amp;lt;the_folder_name&amp;gt; Then access http://localhost:3000 (but depending on what's shown on screen)
More details in https://www.npmjs.com/package/serve</description></item><item><title>Quick HTTP Server Using Python</title><link>https://quicktasks.ismael.casimpan.com/post/quick-http-server-using-python/</link><pubDate>Fri, 25 Feb 2022 00:20:25 +0800</pubDate><guid>https://quicktasks.ismael.casimpan.com/post/quick-http-server-using-python/</guid><description>
If you ever need to serve your current directory via http for some reason, this is a quick command in python3:
1~$ python3 -m http.server 8000 Then access http://localhost:8000</description></item></channel></rss>