How to do it...

  1. With bash pointed to ~/workspace:, install Surge globally:
      npm install --global surge
  1. Run the surge command.
  2. A message will appear in your console, asking you to either log in or create an account. You can do either of them straight from the console. When prompted for the project path, just append /app/www to the path provided. The surge command will continue logging a few more things, and in the last logged row, it will write the following message: Success! Project is published and running at vancouver.surge.sh.
  3. Navigate to the website mentioned in the preceding line (obviously, yours will be different from the one mentioned previously).
  4. Change your development environment code, then harp compile it (make sure that ...

Get Bootstrap 4 Cookbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.