Update `make generate` target to account for new `_assets` folder

This commit is contained in:
Pedro Pombeiro 2018-02-26 16:04:40 +01:00
parent abb5df88d1
commit 0332465952
No known key found for this signature in database
GPG Key ID: A65DEB11E4BBC647
3 changed files with 5 additions and 4 deletions

2
.gitignore vendored
View File

@ -23,7 +23,7 @@
*/**/*tx_database*
*/**/*dapps*
vendor/github.com/ethereum/go-ethereum/vendor
/node_modules/
node_modules/
tags
#*

View File

@ -108,7 +108,7 @@ statusgo-ios-simulator-mainnet: xgo
@echo "iOS framework cross compilation done (mainnet)."
generate: ##@other Regenerate assets and other auto-generated stuff
cp ./node_modules/web3/dist/web3.js ./static/scripts/web3.js
cp ./_assets/node_modules/web3/dist/web3.min.js ./static/scripts/web3.js
go generate ./static
rm ./static/scripts/web3.js

View File

@ -56,7 +56,7 @@ popd
Update config for tests with new accounts `static/config/public-chain-accounts.json`:
```
```json
{
"Account1": {
"Address": "0xb6120ddd881593537c2bd4280bae509ec94b1a6b"
@ -70,11 +70,12 @@ Update config for tests with new accounts `static/config/public-chain-accounts.j
Embed keys as a binary data, you will need to install `npm` tool and web3.js lib:
```bash
npm install web3
(cd _assets && npm install web3)
make generate
```
As a final step request funds from faucet for a chosen network:
- [Rinkeby](https://faucet.rinkeby.io/)
- [Ropsten](http://faucet.ropsten.be:3001/)