Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR 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"
 
PREVIOUS NEXT
Tagged: #publish #website #locally
ADD COMMENT
Topic
Name
8+3 =