Skip to content

Latest commit

 

History

History
38 lines (27 loc) · 653 Bytes

README.md

File metadata and controls

38 lines (27 loc) · 653 Bytes

💡 Setup

❗ Make sure you have setup firebase cli correctly.

Create .env file within functions folder.

API_KEY=<google api key>
GOOGLE_APPLICATION_CREDENTIALS=<path to google service json config>

⚠️ Note that GOOGLE_APPLICATION_CREDENTIALS is relative to src folder.

Within functions folder

npm install

🛠️ Build and run locally

Within functions folder

npm run start

🔖 Upload prepared tags

If you want upload prepared tags within functions folder run

npm run upload-tags

🚀 Deploy time

Within functions folder

npm run deploy