Skip to content

Build issues when running the project locally #3

Open

Description

@Ashish-Dobhal

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.

Activity

  1. changed the title [-]Issues when running the project locally[/-] [+]Build issues when running the project locally[/+] on Mar 22, 2022
  2. vishu184 commented on Mar 22, 2022

    @vishu184

    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": ""
    }

  3. Ashish-Dobhal commented on Mar 22, 2022

    @Ashish-Dobhal
    Author

    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.

  4. Ashish-Dobhal commented on Mar 22, 2022

    @Ashish-Dobhal
    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

  5. vishu184 commented on Apr 4, 2022

    @vishu184

    @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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions