unicef / bounties

MIT License
4 stars 11 forks source link

Setup Bounties development environment #46

Open mehranhydary opened 3 years ago

mehranhydary commented 3 years ago

Summary

  1. Follow setup instructions from the README
  2. Improve documentation if needed

Background

A development environment is important for working on Bounties Network platform. You need one to test your changes before making a pull request. It also makes it easy to test other peoples' changes too.

Follow setup instructions on the README page for a development environment

Run through the existing documentation to set up a development environment. Completing this helps you iterate new changes and test them. When you complete this, post a screenshot of Bounties Network running locally in your browser. 💻 📷 Improve documentation if needed

If everything correctly works, you don't need to do anything more. 💯

If the steps didn't work for you, compare what you did change to get it working to the documentation. If something is unclear or a step is missing, submit a pull request with the improvement. Additions don't need to be long – it's better to write in a more direct and simple way.

Outcome

Note: This issue will remain open indefinitely. This ticket does not require an assignee to work on this task – it can be repeated by anyone.

zubedauk commented 3 years ago

hi, can you guide me to kick start this project please.

zubedauk commented 3 years ago

hi, for some reason i am not able to clone this repo on my local machine.can you help me please.

zubedauk commented 3 years ago

error: error: RPC failed; curl 56 GnuTLS recv error (-9): A TLS packet with unexpected length was received. fatal: The remote end hung up unexpectedly fatal: early EOF fatal: index-pack failed

tenthirtyone commented 3 years ago

@zubedauk Please follow the README instructions

Contributions
Please Fork this repo, pull down & set your fork as origin with this repository as upstream. To make Pull Requests, push your change branch to your repo and open a PR here. [See more](https://github.com/unicef/juniper-portfolio/tree/develop/contributing)

And for issues please keep it to one thread, and one response please. I've also responded to you in Slack.

tenthirtyone commented 3 years ago

@DivyanshiSingh Start with this then take one issue at a time, mention on the ticket you are starting, work on it, submit your PR, and then move to another issue.

DivyanshiSingh commented 3 years ago

Screenshot 2021-04-09 at 2 09 33 PM

I have done the setup locally. but the backend route http://localhost:9000/bounties is sending an empty response (In mongodb i have bounties collection but its empty). do we need to populate it with dummy data? also clicking on signin throws an error @tenthirtyone a quick help will solve it. thanks

zubedauk commented 3 years ago

Screenshot from 2021-04-10 14-30-45 I have done the setup locally but nothing is showing.what i need to do to show data on screen.?

sunny775 commented 3 years ago

Hi @mehranhydary I've set up my local dev environment, but the ap is not being popullated with any data at all. bounties

tenthirtyone commented 3 years ago

On a fresh app install you will need to create bounties for the data to show up. The app is currently pointed at Rinkeby.

Using a web3 browser,

  1. Sign in
  2. Acquire Rinkeby Eth from the RInkeby faucet
  3. Click 'Create Bounty' on the top bar
  4. Fill out the form
  5. Submit

We are also accepting UNICEF Boost token on Rinkeby but your accounts won't have balances so focus on Eth for now.