Skip to content

Instantly share code, notes, and snippets.

@mpmckenna8
Created March 23, 2016 15:26
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save mpmckenna8/d58d73fbd442acb8d69a to your computer and use it in GitHub Desktop.
Save mpmckenna8/d58d73fbd442acb8d69a to your computer and use it in GitHub Desktop.
Super simple webpage with budo

This is just a super simple example of using budo on the command line project setup.

So I had done

npm install budo -g

and in this direcotry:

npm install

Just to install d3 which is a dependency in package.json

then on command line

budo .

And it will print to the console where your project is getting served.

// try to do some stuff here
var d3 = require('d3');
d3.select('body').append('text')
.text('hey now thats somethin a webpage without any writing any htmml')
console.log('yoyo')
{
"name": "breadboard",
"version": "1.0.0",
"description": "browser based breadboard",
"main": "index.js",
"scripts": {
"test": "node index.js"
},
"author": "mpmckenna8",
"license": "ISC",
"dependencies": {
"d3": "^3.5.16"
},
"devDependencies": {}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment