Skip to content

Commit

Permalink
Fix local dashboard setup (#156)
Browse files Browse the repository at this point in the history
* removed unused path

* add pre-release cli version

* add fixes
  • Loading branch information
Orie Steele authored and eolszewski committed Jun 29, 2018
1 parent 34c562e commit bb00ad7
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/transmute-cli/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "transmute-cli",
"version": "0.2.5",
"version": "0.2.6",
"description": "transmute cli",
"scripts": {
"transmute": "./src/index.js",
Expand Down
2 changes: 1 addition & 1 deletion packages/transmute-cli/src/commands/init/initializer
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ echo 'GANACHE HEALTHCHECK'
echo "https://ganache.transmute.minikube:$KONG_PROXY_PORT"

curl -s -k -X POST \
--url "https://ganache.transmute.minikube:$KONG_PROXY_PORT/ganache" \
--url "https://ganache.transmute.minikube:$KONG_PROXY_PORT" \
--data '{"jsonrpc":"2.0","method":"web3_clientVersion","params":[],"id":68}' \
| jq -r '.'

Expand Down
14 changes: 14 additions & 0 deletions packages/transmute-dashboard/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,20 @@ npm run truffle:migrate
npm run start
```

### Testing With Transmute CLI

The transmute CLI helps manage a local minikube environment which is more similar to production environments such as GKE, Azure or AWS.

In order to develop against services hosted in this environment, some changes are necessary:

Migrate contracts to ganahce hosted in minikube:

```
NODE_TLS_REJECT_UNAUTHORIZED='0' TRANSMUTE_ENV='minikube' npm run truffle:migrate
```

Edit `./src/transmute-config/index.js` make set `transmute.network` to `minikube`

### Deployment

This is for contributors only.
Expand Down
1 change: 1 addition & 0 deletions packages/transmute-dashboard/contracts/ESigner.sol
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
pragma solidity ^0.4.19;

import "transmute-framework/contracts/EventStore.sol";
import "transmute-framework/contracts/EventStoreFactory.sol";

contract ESigner is EventStore {

Expand Down

0 comments on commit bb00ad7

Please sign in to comment.