This is the front end to the catalog which contains all of the client html and code.
###To simply run the client code:
You will need the following things setup:
git submodule init ndn-js
in the client directory.git submodule update
Note: The dev code runs from catalog-dev and is not gauranteed to run across all browsers. Only the deployment code is prepared in such a way that we can promise the code will work. (Internet explorer may work but is not officially supported by either option)
###To run the deployment code:
You will additionally require npm and node installed (npm is packaged with the default node installation).
Run the following:
npm install -g gulp npm install gulp
The site will now be available in the catalog directory.
If you run into issues of requiring sudo access you may need to configure the npm prefix to point your global package repo somewhere else. Should you find yourself in a situation that you don't mind using sudo, feel free to simply just run with sudo.
##Serving the site:
To serve the site, point a webserver at the same directory this README file is in. Then give users the url: http:///catalog or /catalog-dev depending on if you are running deployment code.
HTTPS is not supported and will break the code as it is unless the ndn backend is running a valid certificate as well, this is due to a security rule in most browsers that restricts the ws protocol from running in https tabs/frames. All content in the https frame MUST be secure. (Aka run wss in https) (HTTPS is not officially supported)
###Global
###Retrieval
Currently the theme is a modified bootstrap theme that is running larger fonts and custom colors.
If you would like to modify the theme go to this url. To modify the current theme, then upload the variables.less in this folder, make your modifications, and overwrite the variables.less file when you are done (and the theme.min.css).