Skip to content
No description, website, or topics provided.
JavaScript CSS Shell
Branch: master
Clone or download
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.github Update PULL_REQUEST_TEMPLATE.md (#287) May 21, 2019
_mocks_ [#119] - Preloading the template chunk for the certificate file (#121) Apr 5, 2019
pages chore(package): Updated nextjs version (#402) Aug 19, 2019
scripts WIP(Removal): Decentralised Renderer (#356) Jul 9, 2019
src fix: #375 change iframe height to 99vh to get around cropping (#378) Aug 21, 2019
static fix: #375 change iframe height to 99vh to get around cropping (#378) Aug 21, 2019
.babelrc WIP(Removal): Decentralised Renderer (#356) Jul 9, 2019
.eslintignore added test framework Oct 11, 2018
.eslintrc Update .eslintrc Jun 7, 2019
.gitattributes Feat/add template cli (#93) Feb 8, 2019
.gitignore Sonar to read lcov report from jest (#183) Apr 25, 2019
.nvmrc Feat/dynamic loading (#64) Dec 20, 2018
.travis.yml WIP(Removal): Decentralised Renderer (#356) Jul 9, 2019
CREDITS.md chore: added credits (#384) Jul 24, 2019
LICENSE Add year and owner to license Mar 20, 2018
README.md Added New Templates for SSG (SOA, QUAL & TRANS Certs) (#160) Apr 22, 2019
generate-sitemap.js fix(seo): Added sitemap (#403) Aug 17, 2019
jest.config.js WIP(Removal): Decentralised Renderer (#356) Jul 9, 2019
jest.setup.js Fix/node env (#32) Nov 8, 2018
next.config.js introduced configurable url for legacy renderer (#407) Aug 21, 2019
package-lock.json chore(package): Updated nextjs version (#402) Aug 19, 2019
package.json introduced configurable url for legacy renderer (#407) Aug 21, 2019
post-export.js fix(seo): Added sitemap (#403) Aug 17, 2019
sonar-project.properties WIP(Removal): Decentralised Renderer (#356) Jul 9, 2019
styles.scss update: Nov 27, 2018

README.md

Certificate Web UI

Build Status

See also:

Development

We develop primarily on a OS X / Linux environment so please lodge an issue if you are using Windows and find that you cannot successfully set up a local instance of this software.

Developer CLI

There is a rudimentary interface for adding a new template for organisations that are doing it for the first time. (support for adding templates to existing organisations will come in a later release)

npm run dev-cli

OS X / Linux

npm install
npm run dev

Windows

For Windows you need to set up the toolchain for node-gyp before installing this repository, follow the instructions in https://github.com/nodejs/node-gyp#on-windows.

npm install
npm run dev

Environmental Variables

NET is used for setting the default network, setting it to mainnet uses the public Ethereum network. If it is not set it defaults to Ropsten testnet

E.g:

NET=mainnet npm run dev

Frameless Viewer

For embedded certificate rendering, we have provided a frameless view located at /frameless-viewer

More information at opencerts-documentation

Troubleshooting

To enable debug logs in the browser, set localStorage.debug="*"

Module build failed

If you see module build failure message like:

Module build failed (from ./node_modules/mini-css-extract-plugin/dist/loader.js):
ModuleBuildError: Module build failed (from ./node_modules/sass-loader/lib/loader.js):
Error: ENOENT: no such file or directory, scandir 'D:\opencerts-website\node_modules\node-sass\vendor'
at Object.readdirSync (fs.js:783:3)

Try running npm rebuild

You can’t perform that action at this time.