Skip to content

daostack/daostack_frontend

Repository files navigation

DAOstack Frontend readme

Run app locally

Dependencies:

  • NVM
  • NodeJS + NPM
  • Yarn - curl -o- -L https://yarnpkg.com/install.sh | bash
  • DAOstack Solidity Contracts - Clone the DAOstack solidity smart contracts repository from github in to the same 'apps' folder in which the 'daostack_frontend' repo is placed.

If you're using Atom as your code editor consider installing the following packages:

yarn install

Developer Development Environments

Working with testrpc

  1. Install testrpc
  2. Switch off chrome extensions such as MetaMask or Parity extension OR have MetaMask listen to localhost:8545
  3. Run testrpc in one terminal tab
  4. In a separate tab run yarn testrpc

Working with Kovan testnet locally

  1. Install parity - bash <(curl https://get.parity.io -Lk)
  2. Create a file in the root of the project called 'kovan_pass.txt' with your parity wallet password
  3. Run parity --no-warp --unlock KOVAN_ACCOUNT_PUBLIC_ADDRESS --password kovan_pass.txt --chain=kovan in another terminal tab
  4. Run yarn kovan

Working with Ropsten Testnet locally (without MetaMask)

  1. Run geth testnet - geth --testnet --rpc --rpccorsdomain '*' --rpcport 8545 console
  2. Get some testnet ETH - curl -X POST -H "Content-Type: application/json" -d '{"toWhom":"0x9449939b942ec2d2db4ada31712125431c27ec41"}' https://ropsten.faucet.b9lab.com/tap OR try this link
  3. Unlock your account in the geth console - personal.unlockAccount(eth.accounts[0], 'PASSWORD', 100000)
  4. yarn ropsten

Deployment

Dependencies:

  • IPFS
  • sed - sudo apt-get install sed

Deploy to Kovan testnet

  1. Start the ipfs daemon in one terminal
  2. Create a file in the root of the project called 'kovan_pass.txt' with your pairty wallet password
  3. Run parity --no-warp --unlock KOVAN_ACCOUNT_PUBLIC_ADDRESS --password kovan_pass.txt --chain=kovan --dapps-port 8090 in another terminal
  4. Then run yarn deploy_ipfs_kovan
  • If you aren't connecting to any peers 0/0/25 peers - delete your db by running parity db kill --chain=kovan and start the parity node with --no-warp

Deploy to Ropsten testnet

  1. Start the ipfs daemon in one terminal
  2. Run geth --testnet --rpc --rpccorsdomain '*' --unlock ROPSTEN_ACCOUNT_PUBLIC_ADDRESS --password ropsten_pass.txt console in another terminal
  3. Unlock your account: personal.unlockAccount(eth.accounts[0], 'lN8zzFgcUQI8', 100000)
  4. Run yarn deploy_ipfs_ropsten in another terminal

Regular end users

Latest deployments of the dapp

ROPSTEN_DEPLOYEMENTS

KOVAN_DEPLOYEMENTS

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages