learnshopify.dev/Workspace
local task

Create a second app at Shopify for production, with its own config file.

Pass criterion: Your app folder has `shopify.app.production.toml` with a `client_id` that differs from the one in `shopify.app.toml`, and it is committed.
$ npx @learnshopifydev/cli check create-the-production-app
1. Create the production app

Type the file name `production` exactly, because later lessons use it.

2. Open `shopify.app.production.toml` next to `shopify.app.toml`

The new file has another `client_id`, the line that ties a file to one app. It has no `[[webhooks.subscriptions]]` sections, so copy the two from `shopify.app.toml` under its `[webhooks]` line.

3. Make your development app the default again

The new app became the default. After this, only a command with `--config production` talks to the live app.

4. Commit the new file

0 / 1 task solved