Skip to content
This repository has been archived by the owner on Mar 21, 2018. It is now read-only.

Latest commit

 

History

History
40 lines (25 loc) · 1.04 KB

building.md

File metadata and controls

40 lines (25 loc) · 1.04 KB

Building Tofino

All platforms

Ensure you have the following installed and accessible in your PATH environment variable.

  • Node.js >= 6.1.0
    • To manage multiple node installations, consider using nvm
  • Python 2.7 (python must be in path)

Windows

Linux

  • Install your platform's build essentials, i.e. sudo apt-get install build-essential

OSX

Installation instructions here use Homebrew. You don't need nvm, but makes installing and managing node versions simple.

$ brew install node python

Building

Once all dependencies are installed, you should be able to just install the node dependencies via npm:

npm install

At this point you can run a build via:

npm run dev