Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add grpc-gw usage example #527

Merged
merged 2 commits into from
Dec 12, 2016
Merged

Add grpc-gw usage example #527

merged 2 commits into from
Dec 12, 2016

Conversation

generalhenry
Copy link
Contributor

ref: #425

Add a example of using the amplifier-gateway api to build a ui

To test:
./shrink.sh local
amp pf start --local
cd examples/ui
./deploy.sh
open http://www.gw-ui.local.atomiq.io/stacks/

Copy link
Contributor

@chrisccoy chrisccoy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍 works like a charm.

@chrisccoy
Copy link
Contributor

FYI- You may get a protobuf error:

Error during: amp up, reason: rpc error: code = 2 desc = proto: can't skip unknown wire type 7 for stack.Stack

if you do not perform a make install prior to the deploy step

Copy link
Contributor

@JosephGJ JosephGJ left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Had to open link in a chrome window rather than safari.

@generalhenry
Copy link
Contributor Author

re: safari
I built it using new browser features, and safari is missing one of them (fetch) it's easy to polyfill but for now the browser support matrix is [chrome 55+] though it should also be working in firefox, opera and edge. (safari is sadly the new IE)

Copy link
Contributor

@bquenin bquenin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, tested on linux with Chrome 55

@bquenin bquenin merged commit b788ea4 into master Dec 12, 2016
@bquenin bquenin deleted the grpc-gw-example branch December 12, 2016 15:49
@ndegory ndegory added this to the 0.4.0 milestone Dec 12, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants