oceanprotocol-archive / bounties

🎣 Bounties for Ocean Protocol
Apache License 2.0
11 stars 0 forks source link

Ocean Bounty: Docker Setup for Ocean Protocol on Windows OS #17

Closed Anirudh2490 closed 3 years ago

Anirudh2490 commented 5 years ago

Ocean Bounty: Docker Setup for Ocean Protocol on Windows OS

How can you help?

We need help with making Barge, our docker compose files, work with the various Windows OS. Our Docker Compose files for setting up the full Ocean Protocol stack is working for MacOS/Linux but not on Windows. Docker for Windows offers a different solution compared to the experience with Docker on Linux and Docker for Mac, due to the difference between Windows SO and Unix-type kernels. These differences are turning out to be problematic when trying to run a Docker project built thinking on the other platform.

P.S. - At Ocean we reference everything with Marine life references, so we call our docker system "barge" as barges carry containers on the water! ;)

What needs to be done?

The outcome of this bounty is to deliver a Windows-compatible version of barge. You may face some incompatibility issues due to how the different operating systems manage the network. Additionally, the runner script (start-ocean.sh) may need some modification/migration to PowerShell to get it working over Windows as well as modifying some files/script to make it work on Windows.

You will also configure the local Windows system to enable the network connection between containers (https://forums.docker.com/t/bridge-with-docker-for-windows/30936/10). Document any action you may require to do in order to achieve the goal.

We are very happy when

For any other comments or questions, you can reach us on Github or, for an immediate revert, on our Gitter channel

Seen this problem before?

Any help solving this is welcome. Feel free to leave any comments and help someone else to solve it. We might airdrop tokens to someone even if not directly completing bounty.

Questions & Reviews

Pull requests will be reviewed by one of the maintainers or long-term contributors. In case of any additional questions feel free to ask in this thread and we will do our best to add the missing info :)

Things to know

The bounty lifecycle process including payout will be managed using Gitcoin. We'll be responding to your questions here, but for discussion and clarification we recommend to join also our Gitter channel where our tech community is accessible. In order to see the PROCN balance in your wallet you'll need to reference the related token contract with address 0xf2aabdd898a0139195b2b5da7387d43a45ded254. If you use a Metamask plugin you'll find the the exact steps here. Lastly, even if it is a contest bounty, we will reward all valuable contributions and efforts. We greatly appreciate the value our open source community brings to Ocean and will always award some tokens to all great contributions! :smiley:

Reward

Once the project was reviewed and merged in the master branch, you will receive the reward. PROCN is a proto-Ocean token. Bounty hunters that earn PROCN will be able to convert them 1:1 to Ocean tokens on network launch (Ocean Token will be valued at at 0.22 EUR on network launch). Network launch is expected to happen by Mar 31, 2019. Until then PROCN will be locked and non-transferrable in the ETH wallet to which it is delivered to.

gitcoinbot commented 5 years ago

Issue Status: 1. Open 2. Started 3. Submitted 4. Done


This issue now has a funding of 10000.0 PROCN attached to it as part of the Ocean Protocol Foundation fund.

gitcoinbot commented 5 years ago

Issue Status: 1. Open 2. Started 3. Submitted 4. Done


Work has been started.

These users each claimed they can complete the work by 22 hours ago. Please review their action plans below:

1) ulfasaar has been approved to start work.

Questions:

  1. Why do you guys use multiple docker compose files as opposed to one large one? My guess is it has something to do with making it easier to start individual components on their own?

Action Plan Steps:

  1. Clone the repo.
  2. Ensure docker and docker compose are the latest version
  3. Run docker compose on a Linux machine
  4. Run docker compose on a windows machine
  5. Observe any error messages, or lack of and any strange behaviours that differ from the Linux version
  6. Modify startup script file and or other files.
  7. Update documentation

Learn more on the Gitcoin Issue Details page.

Anirudh2490 commented 5 years ago

@ulfasaar welcome! Thanks for applying for this bounty, it's great to have you on board. If you've got any doubts on how to proceed, we're available on chat - https://gitter.im/oceanprotocol/Lobby. You can also tell us more about your approach to the work, what will be your steps and when you are planning to complete. Cheers!

gitcoinbot commented 5 years ago

Issue Status: 1. Open 2. Started 3. Submitted 4. Done


Work for 10000.0 PROCN has been submitted by:

  1. @ulfasaar

@chalidbdb please take a look at the submitted work:


gitcoinbot commented 5 years ago

Issue Status: 1. Open 2. Started 3. Submitted 4. Done


The funding of 10000.0 PROCN attached to this issue has been approved & issued to @Ulfasaar.