993cd85e4a8a886d1f8a8f1c3c5149d9422c5569
In case the window load event was fired before getting to the Ember initializer, it would pause app loading indefinitely. This makes sure that app loading is only paused, if there's still an event to wait for.
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 <repository-url>this repositorycd kredits-webnpm installbower install
Running / Development
ember serve- Visit your app at http://localhost:4200.
Code Generators
Make use of the many generators for code, try ember help generate for more details
Running Tests
ember testember 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 might want to run your own development chain with your own development contracts. The kredits-contracts helper scripts are available in kredits-web. See kredits-contracts for more information.
Start your parity node with a KreditsChain:
npm run kredits-parity
Deploy the contracts to your local chain:
npm run kredits-deploy
Run kredits-web with your localy deployed contracts:
KREDITS_CONTRACT_ADDR=`kredits-inspect -c Kredits -r -w address` \
TOKEN_CONTRACT_ADDR=`kredits-inspect -c Token -r -w address` \
npm start
You need to have `./node_modules/.bin` in your path for this to work. Otherwise simply copy the contract addresses and set the environment variables manually.