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

syncbased: sb-allocator doesn't create default syncbase db #1414

Open
azinman opened this issue Jul 22, 2016 · 1 comment
Open

syncbased: sb-allocator doesn't create default syncbase db #1414

azinman opened this issue Jul 22, 2016 · 1 comment
Assignees

Comments

@azinman
Copy link

azinman commented Jul 22, 2016

Currently sb-allocator.v.io doesn't create the default DB necessary for cloud to work. The following steps must occur:

Install the principal & sb binaries

jiri go install v.io/...

Create your principal

$JIRI_ROOT/release/go/bin/principal create $JIRI_ROOT/.v23creds

Bless it via OAuth. On the Vanadium blessings page, just click bless.

$JIRI_ROOT/release/go/bin/principal -v23.credentials=$JIRI_ROOT/.v23creds seekblessings

Create the shared database using the app client id blessing. Notice the , in the id... it's blessing,db

$JIRI_ROOT/release/go/bin/sb --v23.credentials=$JIRI_ROOT/.v23creds -service=/ns.dev.v.io:8101/sb/syncbased-<SYNCBASEID> -create-if-absent=true --db dev.v.io:o:<GOOGLE SIGNIN CLIENTID>,db

At this point you can go to sb-allocator.v.io, click debug on your instance, click Syncbase in the upper right, then verify the database was created. You can't currently view the collections or syncgroups as the website is not authenticated to show them.

All of this is complicated and should be integrated directly into sb-allocator, including authing it to show the collections/syncgroups in debug.

@afandria @ultrasaurus @schmidt-sebastian

@afandria
Copy link

Thanks for the summary, @azinman
A lot has to happen to set this up on your own, including downloading Vanadium. We want the site to do all of this for developers.

@afandria afandria self-assigned this Jul 22, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants