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

The app built from source cannot use #894

Closed
boquanzhou opened this issue Aug 28, 2023 · 10 comments
Closed

The app built from source cannot use #894

boquanzhou opened this issue Aug 28, 2023 · 10 comments
Labels
bug Something isn't working

Comments

@boquanzhou
Copy link

Describe the bug
I try to build the app from source(on windows), it succeed. Howvever on the initial screen, when I
click connect account, it opens up the local computer.

Expected behavior
It is expected to open the github connection link.

To Reproduce
How can we reproduce the bug? Helpful information could include:

  • Details about your system: windows
  • The data that you had indexed
  • The query that you ran

Screenshots or output
If applicable, add screenshots to help illustrate the bug.

Additional context
Add any other context about the problem here.

@boquanzhou boquanzhou added the bug Something isn't working label Aug 28, 2023
@rsdy
Copy link
Contributor

rsdy commented Aug 28, 2023

To use the app built from source, you will need to have your own GitHub app credentials for it (or lift these from a bloop binary bundle).

You can configure the app through using the --config-file= parameter to the bloop.exe binary, with the file containing something along the lines of (up until 0.4.14):

  {"github_client_id": "XXXXX"}

Note that as of 0.4.15, a the configuration has changed, and will require a different set of settings, and it's best to reference the binary distribution for what these are.

@boquanzhou
Copy link
Author

Why is this step not required for downloaded version? I still don't know how to operate that

@boquanzhou
Copy link
Author

image
Is that what you're talking about?

@rsdy
Copy link
Contributor

rsdy commented Aug 28, 2023

Correct, this is one file you can use, and I think it will make it into the bundle. For the binary version we already set up the configs during the CI process, so you don't need to deal with this.

None of these values are particularly secret, but we kindly ask that you to create your own configuration if you decide to build yourself, as we cannot support or help with debugging if you make local modifications.

@boquanzhou
Copy link
Author

I did this, but after the compilation, I still had the same problem as before.

@boquanzhou
Copy link
Author

Who can help me solve this problem?

@rsdy
Copy link
Contributor

rsdy commented Aug 29, 2023

Can you please go through what steps and exact commands you used to build?

@boquanzhou
Copy link
Author

I just use npm run start-app to start the app, and I follow your advice to put the config under src-tauri

@boquanzhou
Copy link
Author

It failed
image

@ggordonhall
Copy link
Contributor

You can now build and run bloop from source without providing these credentials. Instructions here: https://github.com/BloopAI/bloop?tab=readme-ov-file#building-from-source

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants