bumi 6dafc26deb Refactor web3 initialization
This changes how we wait for web3 and accounts to be available and
renames web3Provider to ethProvider as we could be able to swap the
different providers (ethers.js vs. web3)
2018-04-04 13:56:41 +02:00
2018-04-04 13:56:41 +02:00
2018-04-03 21:34:45 +02:00
2018-04-01 03:16:22 +02:00
2017-02-05 11:43:36 +08:00
2017-02-07 21:12:08 +08:00
2018-04-04 12:49:41 +02:00
2017-01-30 19:42:20 +08:00
2018-04-01 03:16:22 +02:00
2018-04-01 03:20:16 +02:00
2017-01-31 17:40:17 +08:00
2017-01-31 11:56:51 +08:00
2017-01-31 11:56:51 +08:00
2018-04-04 12:49:41 +02:00
2018-04-01 15:21:14 +02:00

Build Status

kredits-web

This README outlines the details of collaborating on this Ember application. A short introduction of this app could easily go here.

Prerequisites

You will need the following things properly installed on your computer.

Installation

  • git clone git@github.com:67P/kredits-web.git this repository
  • cd kredits-web
  • npm install

Running / Development

Code Generators

Make use of the many generators for code, try ember help generate for more details

Running Tests

  • ember test
  • ember test --server

Building

  • ember build (development)
  • ember build --environment production (production)

Deploying

Specify what it takes to deploy your app.

Working with locally deployed contracts

For development you should checkout truffle-kredits. See the README how to setup truffle-kredits.

Run the following commands in truffle-kredits

  • ganache-cli -p 7545
  • truffle migrate
  • npm link

Run ipfs local

  • ipfs daemon --offline See IPFS for the setup

In kredits-web

  • npm link kredits-contracts
  • ember serve

IPFS

Install IPFS with your favorite package manager and run

ipfs init
ipfs config --json API.HTTPHeaders.Access-Control-Allow-Origin '["localhost:4200"]'
ipfs config --json API.HTTPHeaders.Access-Control-Allow-Methods '["PUT", "GET", "POST"]'
ipfs config --json API.HTTPHeaders.Access-Control-Allow-Credentials '["true"]'
2.3.0 Latest
2025-02-17 06:35:52 +00:00
Languages
JavaScript 97.8%
Handlebars 1.4%
SCSS 0.7%
HTML 0.1%