-
Notifications
You must be signed in to change notification settings - Fork 5
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
Create docs for setting up Firebase for Contributor #4
Labels
documentation
Improvements or additions to documentation
good first issue
Good for newcomers
hacktoberfest
Comments
@rootCircle |
Sure @Petsamuel , go ahead! If you need any help, please ping me out in Issue Thread! |
Here is the dummy file for import os
dir_path = os.path.dirname(os.path.realpath(__file__))
SERVICEACCOUNTFILE = os.path.join(dir_path,"firebase", "res", "service-account-file.json")
api_key="sk-asjkdsakdasasdklldas" # OPENAI KEY
dbURL = "https://codemark-jdxknzklndkasnkldjkasljd.firebasedatabase.app/"
firebaseConfig = {
"apiKey": "jfdskjlksdflskfkslfk-QEhUe_bI",
"authDomain": "codemark-hfksjdfksdf.firebaseapp.com",
'databaseURL': dbURL,
"projectId": "codemark-6f33a",
"storageBucket": "codemark-sdjfkjkflsd.appspot.com",
"messagingSenderId": "jfdskfjdsk",
"appId": "1:lkjsdfjsdjfklsj:web:hsdfkjkdlsjfklsdj",
"serviceAccount": SERVICEACCOUNTFILE
}
STORAGE_BUCKET_URL = 'codemark-jkhsdkfjskdfjlksdjf.appspot.com'
# from web3.storage
web3storage_api_key = 'zxjkkcljzxkc.eyJzdWIiOiJkaWQ' |
Forgot to mention but there in an extra required file in {
"type": "service_account",
"project_id": "codemark-6f33a",
"private_key_id": "urwoqr9qiop",
"private_key": "-----BEGIN PRIVATE KEY-----\nfjkasljflksajflk",
"client_email": "jfahsjkfhkajfklajm.gserviceaccount.com",
"client_id": "328798237",
"auth_uri": "https://accounts.google.com/o/oauth2/auth",
"token_uri": "https://oauth2.googleapis.com/xxxxxxxxxx",
"auth_provider_x509_cert_url": "https://www.googleapis.com/oauth2/v1/certs",
"client_x509_cert_url": "https://www.googleapis.com/robot/v1/metadata/x509/xxxxxxx"
} |
rootCircle
pushed a commit
that referenced
this issue
Oct 6, 2023
rootCircle
pushed a commit
that referenced
this issue
Oct 13, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
documentation
Improvements or additions to documentation
good first issue
Good for newcomers
hacktoberfest
Description
Create the docs for setting up firebase account and push in the dummy data present in
Schemas/
folder. And also setting up the required secrets incodemark/secrets.py
The text was updated successfully, but these errors were encountered: