Static Web Publishing on a Custom Domain - surge.sh

surge.sh is one of the easiest tools to use to publish or upload your site for users to view. Can only Upload Static Elements. Very user-friendly command-line tools.

I have been using surge.sh as a simple method to publish small web projects. It is very simple to use with command line. Here are some commands to publish and unpublished your projects. 

 

Install Surge

npm install --global surge

 

Publish Your Project

 In your project directory just do the following

surge

Unpublish Your Project

surge teardown vancouver.surge.sh

Full Documentation: https://surge.sh/help/