IBM-Blockchain-Archive / marbles

WARNING: This repository is no longer maintained ⚠️ This repository will not be updated. The repository will be kept available in read-only mode.
Apache License 2.0
1.03k stars 979 forks source link

Host marbles locally #117

Closed rskumar45 closed 7 years ago

rskumar45 commented 7 years ago

Dear Team ,

When try to run gulp marbles1 I am getting the following error (msg attached) Error Msg gulb marbles1.docx

And as per the instruction in the error message , when I am unable to follow the steps mentioned in url https://github.com/IBM-Blockchain/marbles/blob/v3.0/docs/use_bluemix_hyperledger.md

This is because as of now, there is no space in the Bluemix limited beta to create a service. Message file attached Msg No space in Limited Beta - Bluemix.docx

Is there a way out ?

Thanks & Regards Surya Kumar

dshuffma-ibm commented 7 years ago

So the error message is showing you how to fix itself if you are using the blockchain service for your network. But you don't have to use the service. Since the service has limited space, I'd encourage you to try the local hyperledger fabric setup. This is option 2 on the "2. Get a Network" step.

In case you skipped some instructions you may want to look over steps 0-4.

rskumar45 commented 7 years ago

The Prerequisite for setting up the local hyperledger fabric setup says that:

These instructions have been tested on Ubuntu 14 and OSX. It may work for Windows 10 if you install the Bash shell. Note: Windows 7 users will need a virtual machine running some flavor of Linux.

And I am using Windows 7 system (64 bit- 4 GB RAM). In view of this how do we proceed

dshuffma-ibm commented 7 years ago

Have you ever setup a virtual machine before? I'd recommend Virtual Box with Ubuntu 16.

once that is setup you will bootup your virtual ubuntu via virtual box. from there you can follow the marbles instructions. make sure to run all the instructions/commands on the ubuntu machine, not your host (windows) machine.

rskumar45 commented 7 years ago

I have Oracle VM in my system. Can I install Ubuntu on this VM ?

On Tue, 6/20/17, dshuffma-ibm notifications@github.com wrote:

Subject: Re: [IBM-Blockchain/marbles] Host marbles locally (#117) To: "IBM-Blockchain/marbles" marbles@noreply.github.com Cc: "Surya Kumar" rskumar45@yahoo.com, "Author" author@noreply.github.com Date: Tuesday, June 20, 2017, 1:34 PM

Have you ever setup a virtual machine before? I'd recommend Virtual Box with Ubuntu 16. once that is setup you will bootup your virtual ubuntu via virtual box. from there you can follow the marbles instructions. make sure to run all the instructions/commands on the ubuntu machine, not your host (windows) machine.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.

dshuffma-ibm commented 7 years ago

Maybe? I'm not sure what the difference is since Oracle also owns Virtual Box. If I were you I'd use Virtual Box since its very common, thus you can find lots of tutorials/help online.

rskumar45 commented 7 years ago

To get decent performance what would you recomend for Minimum RAM to be allocated and size of the virtual disk. I have already installed GoLang and Node.js in Windows . Do I have to install these again in VM along with Docker and Docker compose?

dshuffma-ibm commented 7 years ago

128 GB of RAM and 1TB of disk

dshuffma-ibm commented 7 years ago

lol jk, 4GB of RAM and 20GB of disk would be plenty. probably could go as low as 2GB of RAM.

and yes, you'd have to install golang, nodejs, docker, docker compose inside the VM.

rskumar45 commented 7 years ago

I have installed Ubuntu 16.04 Xenial on VM. I am trying to install Docker in Ubuntu using instructions given in https://docs.docker.com/engine/installation/linux/docker-ce/ubuntu/

On step 4 while following command to set up the stable repository , I am getting an error "IndexError : pieces[2].strip()"

The command used by me:- sudo add-apt-repository \ "deb [arch=amd64] https://download.docker.com/linux/ubuntu/dists/$(lsb_release -cs)/stable"

I have attached the error message

index out of range cef4ee0fc.PNG)

Please guide me to fix this error.

Thanks & Regards Surya Kumar

mrshah-at-ibm commented 7 years ago

@rskumar45 we cannot address the docker installation issues. Please refer to https://github.com/docker/docker-ce