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

Build issues when running the project locally #3

Open
Ashish-Dobhal opened this issue Mar 22, 2022 · 4 comments
Open

Build issues when running the project locally #3

Ashish-Dobhal opened this issue Mar 22, 2022 · 4 comments

Comments

@Ashish-Dobhal
Copy link

Ashish-Dobhal commented Mar 22, 2022

Hi Team,

Thanks for open sourcing the source code. I have been trying to run the app locally and get a build time error.
Below is the stack trace of the error.
https://pastecode.io/s/yqsvdbdo
Please let me know if I am being silly h
Before reaching this stage I had to create a db discourse-dev else there were issues in the build this too. I think this step could be add to the README or added directly to the build.

@Ashish-Dobhal Ashish-Dobhal changed the title Issues when running the project locally Build issues when running the project locally Mar 22, 2022
@vishu184
Copy link

Hi @Ashish-Dobhal
Discourse Java is providing notification using firebase. So In Resource folder you will need to provide forums-firebase.json file which contains firebase credential configuration.

Sample forums-firebase.json Structure
{
"type": "test",
"project_id": "",
"private_key_id": "",
"private_key": "",
"client_email": "",
"client_id": "",
"auth_uri": "",
"token_uri": "",
"auth_provider_x509_cert_url": "",
"client_x509_cert_url": ""
}

@Ashish-Dobhal
Copy link
Author

Ashish-Dobhal commented Mar 22, 2022

thanks @vishu184 will try this now.
Just realised it I had to login to firebase -> create a project -> navigate to project settings and generate private key
example url: https://console.firebase.google.com/u/0/project<project_name>/settings/serviceaccounts/adminsdk
We can add these steps to the README as well.

@Ashish-Dobhal
Copy link
Author

@vishu184 I was able to sort out the issue with firebase now the backend boots but with elastic search errors but the app loads up fine. But when I click on the sign in btn there are errors on the next page. Could u pelase tell me how this can be resolved

@vishu184
Copy link

vishu184 commented Apr 4, 2022

@Ashish-Dobhal Sorry for late reply we have check this issue and we are working on the changes in project.

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