Skip to content

vFense/toppatch-ui-rewrite

Repository files navigation

Remediation Vault's Web UI 2.0.0

Contributing

Anyone and everyone is welcome to contribute. Please take a moment to review the guidelines for contributing.

If your pull request contains JavaScript patches or features, you must include relevant unit tests.

Editor preferences are available in the editor config for easy use in common text editors. Read more and download plugins at http://editorconfig.org.

What you need to develop/compile this project

In order to develop and/or compile Remediation Vault, you need to Node.js/npm latest and git 1.7 or later. (Earlier versions might work OK, but are not tested.)

For Windows you have to download and install git and Node.js.

Mac OS users should install Homebrew. Once Homebrew is installed, run brew install git to install git, and brew install node to install Node.js.

Linux/BSD users should use their appropriate package managers to install git and Node.js.

Developing Locally

Clone a copy of the main project repo by running:

git clone git://github.com/toppatch/toppatch-ui-rewrite.git

Install grunt-cli as a global package:

npm install -g grunt-cli

Enter the Remediation Vault directory and install the project dependencies:

cd toppatch-ui-rewrite && npm install

Make sure grunt is installed, and working, by running:

grunt -version

At this point you are ready to start the development environment:

grunt

The environment is running and ready when you see waiting... in the command line.

The grunt task will do several sub-tasks for you:

  • Compile the handlebars templates
  • Compile the LESS files into usable CSS files
  • Copy font and image files
  • Run a local server to host all the relavent files
  • Open a browser window to the server's index page (Only on start)
  • Watch all source files, recompile source files, and refresh the server accordingly

Note: It is a good idea to leave the grunt task running while developing.

WARNING: Stop the grunt task when pulling from github. You have been warned.

Useful links:

Deployment Build

If you have not already done so, clone a copy of the main project repo by running:

git clone git://github.com/toppatch/toppatch-ui-rewrite.git

Enter the project directory and run the build script:

cd toppatch-ui-rewrite && npm run-script build

The built version of Remediation Vault's Web UI will be put in the /dist subdirectory.

Versioning

Remediation Vault's Web UI will be maintained under the Semantic Versioning guidelines as much as possible.

Releases will be numbered with the following format:

<major>.<minor>.<patch>

And constructed with the following guidelines:

  • Breaking backward compatibility bumps the major (and resets the minor and patch)
  • New additions without breaking backward compatibility bumps the minor (and resets the patch)
  • Bug fixes and misc changes bumps the patch

For more information on SemVer, please visit http://semver.org/.

About

Front-end UI for TopPatch's Remediation Vault

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published