Avada App dev flow
Prerequisites
Section titled “Prerequisites”Basic Avada App setup
Section titled “Basic Avada App setup”Before setting up this new Avada Dev Flow, you should know how to basically create and setup an Avada Shopify app already, if not see these videos:
Install Java for Firebase Emulator
Section titled “Install Java for Firebase Emulator”See this guide to install Firebase Emulator and learn some basics: https://firebase.google.com/docs/emulator-suite/install_and_configure
Hand-on
Section titled “Hand-on”Features
Section titled “Features”- Secure funnel automatically with cloudflare
- Automatically update App URL, callback URL with Cloudflare funnel URL
- Automatically update Shopify API key, secret and app URL in the env files
- Automatically registering webhook
- Run Pubsub locally with Emulator (Except for cron)
- Run embed app mode easily
There are still a couple of things to keep in mind:
- Sometime you will get message
Invalid auth callback. This is fine. Since we use Cloudflare, it will redirect the auth 2 times sometimes, so thestateparameter in the URL is upset. Go to the auth link again will work. Since there, the auth process would be no problem. It happens mostly with the first install. - You can run two apps at a time, change your port, the tunnel create different link anyway
- Use avada packages, not Shopify ones