-
Notifications
You must be signed in to change notification settings - Fork 3
Finishing Touches
So you have a brand new virtual machine set with NetCore and Mininet. Before you get started, take a minute to make sure your development environment is ready to go.
If you grabbed the pre-configured virtual machine, you will still need to clone the NetCore repository:
cd ~
git clone [email protected]:frenetic-lang/netcore.git
cd netcore
git submodule init
git submodule update
Some NetCore dependences rely on the Happy Haskell parser generator:
cabal install happy
If you plan to push changes to the central repository, it's handy to automatically tag your commits with your username and email:
git config --global user.name "Your Name"
git config --global user.email "[email protected]"
It's also handy to set up SSH keys. Git has a nice help page.
NetCore is a library. As such, it does not require installation; rather, NetCore controller implementations must link against the library. The NetCore examples directory contains an example NetCore controller. See the netcore/examples/frenetic-examples.cabal file for details.
For directions on building the examples, go here.