Shopify / Shopify/shopify-app-template-php

deployed on AWS show error Missing host query argument

Open
#462 8 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
PHP
Stars
340
Forks
108
PR merge metrics
No merged PRs in 30d

Description

ISSUE SUMMERY

Trying to deploy Shopify-App-Temp-PHP on AWS ec2 but getting error Missing host query argument

What I Try to Do
Setup Apache2 on AWS EC2 instance and

git clone git-url-of-my-app

in root directory run

npm install
cd web

update .env as per requirements then run

composer install
php artisan migrate --seed
cd ..
npm run build

also change root path to

/var/www/html/app/web/public

then got error

Missing host query argument
Your app can only load if the URL has a host argument. Please ensure that it is set, or access your app using the Partners Dashboard Test your app feature

please guide if anyone solve this issue before also share some document if i'm not deploy in right way on AWS.
share some helping guide to deploy shopify-app-temp-php app on AWS.

Thanks.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Review the AWS EC2 setup described in the issue, including the Apache document root at /var/www/html/app/web/public, the web/.env file, and the npm, Composer, and Laravel migration commands. Reproduce the Missing host query argument error and document the deployment configuration or steps that make the app load successfully through the Partners Dashboard Test your app feature.

Written by the indexing model from the issue text.

Assessment

Tech stack
apache, aws, laravel, php
Domain
backend, cloud, devops
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.