Skip to content
SRI Hash Generator
JavaScript HTML CSS
Branch: master
Clone or download

README.md

SRI Hash Generator

This is the code behind the https://www.srihash.org/ website. It generates subresource integrity hashes.

Total alerts Build Status Coverage Status dependencies Status devDependencies Status

Install

You'll need Node.js 12.x and npm to run the server.

Clone the git repository and install dependencies:

git clone git://github.com/mozilla/srihash.org.git
cd srihash.org
npm install

To start the server, run:

npm start

It will listen on http://127.0.0.1:4000 by default.

Or run:

npm run watch

to run the server and watch for changes.

Testing

Run tests with:

npm test

master branch previews

You can preview the master branch deployments on https://srihash-staging.herokuapp.com/. The production deployment is on https://www.srihash.org/.

Production Releases

The main development branch is the master one. When we want to make a production release, we make a PR targeting the production branch.

Please make sure not to use Squash and Merge or Rebase when merging the production PRs, because then the commits will differ.

You can’t perform that action at this time.