Skip to content

Instantly share code, notes, and snippets.

@13protons
Last active August 29, 2015 14:07
Show Gist options
  • Save 13protons/d87ab0ce232b91579ffe to your computer and use it in GitHub Desktop.
Save 13protons/d87ab0ce232b91579ffe to your computer and use it in GitHub Desktop.

Step #1: Initialize Your Project

1.1 Create Folder Structure

  • Create a new folder for you project
  • Navigate to that folder
  • Initialize node.js boilerplate
mkdir zetta-hello-world
cd zetta-hello-world
npm init

Follow the prompts that npm init generates to create a package.json file.

1.2 Install Zetta

npm install zetta --save

1.3 Stub Out Server

Create the server.js file a the top of of the zetta-hello-world directory. The Zetta server will run from this file.

touch server.js
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment