ibm / blockchain-for-maintaining-digital-assets Goto Github PK
View Code? Open in Web Editor NEWLicense: Apache License 2.0
License: Apache License 2.0
We need to figure out where to put the updated instructions on changing the images. Thinking we probably just want to add a new section?
git clone https://github.com/bmos299/Blockchain-for-maintaining-Digital-Assets.git
Go to blockchainsa account, switch to Barry’s via drop down, and namespace Blockapps.
cd Blockchain-for-maintaining-Digital-Assets/web-app
Note: This assumes you put logo.png and favicon.ico in the directory below.
Setting the namespace that we are working in..
kubectl config set-context --current --namespace=genericasset
kubectl delete configmap images
kubectl delete configmap assets
kubectl create configmap assets --from-file=./client/src/assets/logo.png
kubectl create configmap images --from-file=./client/public/images/favicon.ico
Delete all the running pods
kubectl delete -f Kubernetes-deployment.yaml
kubectl apply -f Kubernetes-deployment.yaml
NOTE Might get following error, just try again: Error from server (Invalid): error when creating "Kubernetes-deployment.yaml": Service "genericasset-client-service" is invalid: spec.ports[0].nodePort: Invalid value: 30005: provided port is already allocated
Now should be able to pull it up on the browser http://52.117.161.89:30005/#/
This pattern is not working getting the following error:
{ "message": "The "options.ca" property must be one of type string, Buffer, TypedArray, or DataView. Received type object", "stack": "TypeError [ERR_INVALID_ARG_TYPE]: The "options.ca" property must be one of type string, Buffer, TypedArray, or DataView. Received type object\n at validateKeyCert (_tls_common.js:82:11)\n at Object.createSecureContext (_tls_common.js:114:9)\n at Object.connect (_tls_wrap.js:1160:48)\n at Agent.createConnection (https.js:120:22)\n at Agent.createSocket (_http_agent.js:227:26)\n at Agent.addRequest (_http_agent.js:185:10)\n at new ClientRequest (_http_client.js:258:16)\n at Object.request (https.js:289:10)\n at Promise (/Users/parzy/src/assetApp/Blockchain-for-maintaining-Digital-Assets/web-app/server/node_modules/fabric-client/node_modules/fabric-ca-client/lib/FabricCAClient.js:306:37)\n at new Promise ()" }
Can I have access to the repo so I can submit a PR? I need to update the package.json.
[master 3a7a403] Need the latest fabric sdk and ca client due to a bug on the enroll
1 file changed, 2 insertions(+), 2 deletions(-)
Barrys-MBP:server bmosus.ibm.com$ git push origin master
remote: Permission to IBM/Blockchain-for-maintaining-Digital-Assets.git denied to bmos299.
fatal: unable to access 'https://github.com/IBM/Blockchain-for-maintaining-Digital-Assets.git/': The requested URL returned error: 403
Barrys-MBP:server bmosus.ibm.com$ ```
Now that this is containerized the download piece is pulling into the container, not local
not pulling the changes
Please revise this tutorial. After the latest release, 2.5, some of the instructions here are outdated. Please refer to this documentation, https://cloud.ibm.com/docs/blockchain?topic=blockchain-ibp-console-build-network
Still getting this error message, even after setting the httpOptions in the connection profile:
"message": "Calling register endpoint failed with error [Error: self signed certificate]", "stack": "Error: Calling register endpoint failed with error [Error: self signed certificate]\n at ClientRequest.request.on (/Users/eileen/Desktop/eidev/2020Aug/Blockchain-for-maintaining-Digital-Assets/web-app/server/node_modules/fabric-client/node_modules/fabric-ca-client/lib/FabricCAClient.js:354:12)\n at emitOne (events.js:116:13)\n at ClientRequest.emit (events.js:211:7)\n at TLSSocket.socketErrorListener (_http_client.js:401:9)\n at emitOne (events.js:116:13)\n at TLSSocket.emit (events.js:211:7)\n at emitErrorNT (internal/streams/destroy.js:66:8)\n at _combinedTickCallback (internal/process/next_tick.js:139:11)\n at process._tickDomainCallback (internal/process/next_tick.js:219:9)" }
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.