Reader small image

You're reading from  Truffle Quick Start Guide

Product typeBook
Published inJun 2018
Reading LevelIntermediate
PublisherPackt
ISBN-139781789132540
Edition1st Edition
Languages
Tools
Concepts
Right arrow
Author (1)
Nikhil Bhaskar
Nikhil Bhaskar
author image
Nikhil Bhaskar

Nikhil Bhaskar is the founder and CEO of Ulixir Inca newly founded tech company that builds decentralized and traditional software. He completed B9lab's Ethereum Developer Course, and he is now a certified Ethereum developer. Aside from running Ulixir, he spends his time traveling and eating. He is a bit of a digital nomad; this year, he's lived in five countries and plans to live in six more before the year ends.
Read more about Nikhil Bhaskar

Right arrow

Truffle and Node

If you skipped the Angular chapter, you need to do the following first:

  • Inside your truffle-practice folder, create a new folder called chapter5

Now, let's get started with Truffle and Node. First, create a new folder called truffle-node.

Inside the truffle-node folder, we need to initialize a Truffle project.

So, run the following command in your Terminal, while inside the truffle-node folder:

truffle init

Your truffle-node folder structure should now look like this:

.
├── contracts
├── migrations
├── test
├── truffle-config.js
└── truffle.js

To "run" this Truffle project, we need to have a JavaScript file to run as well as a package.json file that states our dependencies. To generate the package.json file, simply run npm init in your Terminal...

lock icon
The rest of the page is locked
Previous PageNext Page
You have been reading a chapter from
Truffle Quick Start Guide
Published in: Jun 2018Publisher: PacktISBN-13: 9781789132540

Author (1)

author image
Nikhil Bhaskar

Nikhil Bhaskar is the founder and CEO of Ulixir Inca newly founded tech company that builds decentralized and traditional software. He completed B9lab's Ethereum Developer Course, and he is now a certified Ethereum developer. Aside from running Ulixir, he spends his time traveling and eating. He is a bit of a digital nomad; this year, he's lived in five countries and plans to live in six more before the year ends.
Read more about Nikhil Bhaskar