The MilestoneTracker UI is a user interface for the MilestoneTracker contract and in future will be extended to cover the whole functionality of Giveth DAC (Decentralized Altruistic Community).
The application is written in React and interfaces directly with the Ethereum blockchain via the Giveth smart contracts. You can find the production version of this decentralized application (Dapp) and more information on the Giveth website.
NOTE: For contributing code use the "develop" branch of this project repository. The develop branch is deployed here: https://develop--milestonetracker.netlify.com/#/
We also use ZenHub to provide a trello like interface for managing our github issues. Picking issues from the Backlog
lane would be the best place to start contributing.
npm install -g ethereumjs-testrpc
Clone the repository
# Clone the MilestoneTracker UI repository
git clone git@github.com:Giveth/milestonetracker-ui.git
cd milestonetracker-ui
npm install
Run a local Ethereum node with JSON-RPC listening at port 8545 in deterministic mode.
testrpc --deterministic
In new terminal window load the example data.
# run env.js script which automatically creates example data in the blockchain
node env.js
Start the dev server from the milestonetracker-ui directory.
npm start
Load http://localhost:8080/ on your web browser.
Note that if you did not run the JSON-RPC in dtereministic mode, you will have to update dapp/js/blockchain/Network.js 'Testrpc' network object with the GivethDirectory address from the ouput of step 2.
4: {
title: "Testrpc",
directory: new GivethDirectory(web3, "{update me}");
campaignTrackerAddress: "0xe78a0f7e598cc8b0bb87894b0f60dd2a88d6a8ab",
etherscan: "",
},
npm run build
and upload build/
to your server.