Skip to content
cschlesi edited this page Jan 15, 2013 · 5 revisions

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.

Clone the NetCore Repository

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

Install Happy

Some NetCore dependences rely on the Happy Haskell parser generator:

cabal install happy

Git User/Email

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]"

Generate SSH Keys

It's also handy to set up SSH keys. Git has a nice help page.

Build NetCore

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.