Environment variables
Create the Environment Variables in the Heroku App's settings (Settings -> Config Variables -> Reveal Variables) that correspond to the applications. Set these in .env on the client.
Each needs to be created in Shopify as a new Shopify app for production and staging, and then they need to be added to the Heroku app manually. So each Heroku app needs to have a corresponding Shopify app, for production. We can clean up the Shopify apps that we use for Dev later.
These variables are loaded into the configs table in the database when we seed it. So if you change the variables, you need to re-seed the database, which can lead to some issues. So I am creating a separate ticket to create a new Rake Task for this.
Environment variables Create the Environment Variables in the Heroku App's settings (Settings -> Config Variables -> Reveal Variables) that correspond to the applications. Set these in .env on the client.
Each needs to be created in Shopify as a new Shopify app for production and staging, and then they need to be added to the Heroku app manually. So each Heroku app needs to have a corresponding Shopify app, for production. We can clean up the Shopify apps that we use for Dev later.
These variables are loaded into the configs table in the database when we seed it. So if you change the variables, you need to re-seed the database, which can lead to some issues. So I am creating a separate ticket to create a new Rake Task for this.
Shopify
API_KEY
API_SECRET
APP_NAME (IE: mail-funnel-client-production)
APP_SCOPE (IE: read_orders, read_product)
APPURL Production App -- Client: http://mailfunnels.com/ -- Server: http://api.mailfunnels.com/api/
Server URL IE: http://api.mailfunnels.com