See the INSTALL file packaged with the Portal release for instructions on installing and configuring the NetSA Portal.
Modules are a way to extend the NetSA Portal with new analysis functions. Currently, the best documentation for developing a portal module is the core modules that come with the portal.