Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 14 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,14 +1,19 @@
# Certificate Web UI
# OpenCerts Legacy Templates (v1.5 & below)

[![Build Status](https://travis-ci.org/OpenCerts/opencerts-website.svg?branch=master)](https://travis-ci.org/OpenCerts/opencerts-website)

See also:

* [opencerts-documentation](https://github.com/OpenCerts/opencerts-documentation)
* [open-certificate](https://github.com/OpenCerts/open-certificate)
* [certificate-contract](https://github.com/OpenCerts/certificate-store-contract)
* [certificate-cli](https://github.com/OpenCerts/certificate-cli)
- [opencerts-documentation](https://github.com/OpenCerts/opencerts-documentation)
- [open-certificate](https://github.com/OpenCerts/open-certificate)
- [certificate-contract](https://github.com/OpenCerts/certificate-store-contract)
- [certificate-cli](https://github.com/OpenCerts/certificate-cli)

## Migrating to OpenCerts v2

This repository is only for existing templates: no new templates will be accepted, only existing changes to current templates can be made via pull requests.

To create a new template with OpenCerts v2, refer to the documentation at [https://docs.opencerts.io/](https://docs.opencerts.io/).

## Development

Expand All @@ -22,8 +27,8 @@ There is a rudimentary interface for adding a new template for organisations tha
npm run dev-cli
```


### OS X / Linux

```bash
npm install
npm run dev
Expand All @@ -43,6 +48,7 @@ npm run dev
`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:

```bash
NET=mainnet npm run dev
```
Expand All @@ -60,6 +66,7 @@ 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):
Expand All @@ -68,4 +75,3 @@ at Object.readdirSync (fs.js:783:3)
```

Try running `npm rebuild`

1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
"cname": "echo 'opencerts.io' > out/CNAME",
"deploy": "rm -rf out && npm run build:static",
"analyze": "BUNDLE_ANALYZE=browser npm run start",
"dev-cli": "node -r esm ./scripts/cli.js",
"serve-static": "http-server out -s -p 3000",
"integration": "testcafe chrome src/**/*.spec.js",
"integration:headless": "testcafe chrome:headless src/**/*.spec.js",
Expand Down
248 changes: 0 additions & 248 deletions scripts/addNewTemplate.js

This file was deleted.

Loading