Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

publish website locally

Step 1: Install Node.js here https://nodejs.org/en/

Step 2: Install http-server using the following npm command in Node.js Command Prompt

 npm install http-server -g

Step 3: Set up server using the following command in Node.js Command Prompt

http-server "C:UsersYouYour Project Folder"
Comment

PREVIOUS NEXT
Code Example
Shell :: get a loading spinner javascript 
Shell :: command to create a user in linux 
Shell :: cp all except one folder 
Shell :: how to compile 64 bit nasm 
Shell :: powershell output array as table 
Shell :: rename remote branch in git 
Shell :: create new file terminal 
Shell :: How to delete multiples files in Github 
Shell :: github cli 
Shell :: bash adding floats 
Shell :: how to install specific package version npm 
Shell :: git apply exclude file 
Shell :: heroku remove branch 
Shell :: get changes from differente branch git 
Shell :: Docker - Container is not running 
Shell :: How to get current git id 
Shell :: how to compress files using terminal in linux 
Shell :: fastlane match update certificate 
Shell :: git add file in ignored folder 
Shell :: github comment code block new line 
Shell :: reset certain file git 
Shell :: vieuw the MOTD linux 
Shell :: git remote add 
Shell :: commit unstaged changes to new branch 
Shell :: bin bash header 
Shell :: scrapy spider shell from spider 
Shell :: brew cask specific version 
Shell :: echo new line to file 
Shell :: ssh 
Shell :: To install Scrapy on Ubuntu (or Ubuntu-based) systems 
ADD CONTENT
Topic
Content
Source link
Name
4+2 =