Installation instructions
Setup the Google Cloud Platform resources
1., Ensure you have a Google Cloud Platform account with a linked billing account (with less than 5 projects associated with it)
2., Open Google Cloud Console with a Cloud Shell instance
3., Copy paste this command into the console:
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/relatedcode/RelatedChat/main/deployment.sh)"
4., Accept all the prompts generated by the console during the setup process and wait until it is complete
5., A key.json file will be downloaded to your computer at the end of the setup process
Setup GitHub repository
1., Fork this repository
2., Select the Settings in the top navigation bar
3., Select the Secrets menu on the sidebar
4., Create the following repository secret
GCP_SA_KEY-> copy the content of thekey.jsonfile
Deploy the code to Firebase
1., Select the Actions in the top navigation bar
2., Click on Deploy Related:Chat workflow
3., Click on the dropdown button Run workflow
4., Click on Run workflow
5., Wait until the deployment process is finished
6., Your Related:Chat project is now ready to use
Final thoughts
You can find the public URL of your Web app in the Firebase Console Hosting menu. By default, Firebase generates two links. Click on one of them to see your live Web app.
You may experience some loading time during the first few minutes because the Firebase infrastructure needs some time to warm up.
Β© Related Code 2021 - All Rights Reserved


