Udemy
    •  
    •  
    •  
    •  
    •  
    •  
    •  
    •  
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
Easy CLI Live server setup for node localhost
Rating: 4.4 out of 5(108 ratings)
9,597 students

Easy CLI Live server setup for node localhost

Setup your own localhost on your computer in minutes using node npm liveserver
Created byLaurence Svekis
Last updated 11/2019
English
English [Auto],

What you'll learn

  • Setup a local machines in minutes
  • How to create files and folders in CLI

Course content

2 sections9 lectures42m total length
  • Course Introduction LiveServer3:46

    Learn to set up a local live server with node and npm, run ajax locally, and use terminal commands to install bootstrap and jquery for localhost development.

  • CLI create root folder2:30

    Create a root folder for your local host and add an index.html with hello world. Install node and set up a live server to view it at localhost.

  • How to Install Nodejs2:27

    Learn to install Node.js, a JavaScript runtime built on Chrome's V8 engine, on Mac or Windows using the official installer, then verify the installation and access pre-set packages.

  • Easy Command Line6:22

    Use the terminal to verify node is installed, navigate directories with cd and ls, create folders with mkdir, and create files to set up a local node live server.

  • What is NPM Node Package Manager.11:56

    Update and manage node packages using npm, install packages globally with sudo when needed, and set up a live server to run local projects with bootstrap and jquery.

  • Be live server ready5:31

    Learn to set up and run a live server on localhost, configure ports and host IP, and serve Ajax requests over http rather than file protocol.

  • Bonus get to know more Command Line Interface.8:12

    Master essential command line skills for Mac and Windows by practicing navigation, file management, and editing in the terminal, using commands like ls, cd, touch, mkdir, and sudo.

  • Resources1:01

Requirements

  • Basic computer knowledge
  • some web development experience

Description

This course is designed to help beginners setup a localhost on their computers quickly and easily using a terminal, node.js and node package manager.  There is overview of simple command line commands how to do things within the terminal as well.  This is something that I had several students asking for so here it is, I hope you enjoy it.

A localhost is necessary to avoid the file protocol which can be problematic with ajax when testing code locally

There is an easy solution which is live-server, this is setup in minutes and all you need to do it navigate to the directory you want to have as your root of the local server and type live-server.  It immediately launches a localhost with the current file directory as the root.  

Spend less time setting up and more writing code and enjoying your code in action.

Perfect for beginners who need an easy solution quickly!

Taught by an instructor with many years of web development experience ready to help you learn and answer any questions you may have.

What are you waiting for join now!

Everything you need to know plus bonus content is included in this course to get you started quickly.


Who this course is for:

  • Web developers
  • Anyone who wants to setup localhost
  • Anyone who wants to learn command line
  • How to install nodejs and node package manager