Deploy to production
Deploying your Shopify app and theme using Brush really does not change much from the native Gadget and Shopify steps.
Gadget (backend)
Section titled “Gadget (backend)”- From your Gadget admin, click the “Deploy 🚀” button. If this is the first deploy for your Gadget app, you may see the “Missing Shopify app credentials” warning. In such case, just “Force deploy”.
- While the Gadget app is being deploy, create a new Shopify App and create a “Custom distribution” to install it on your merchant’s store.
- Copy the “Client ID” and “Secret” of the Shopify app.
- Use those to connect your Shopify app to the Gadget’s production environment.
- Also use Gadget’s “App URL” and “App redirection URL” to populate the “App URL” and “Redirect URLs” of your Shopify app release.
- Do not forget to check the “Use legacy install flow” and to properly configure the App Proxy with the proper production URL of the Gadget app.
- Do not forget to populate the “SHOPIFY_APP_CLIENT_SECRET” environment variable of the Gadget’s production environment.
Shopify (frontend)
Section titled “Shopify (frontend)”As Brush is fully integrated within your theme, just follow your usual flow.