How-to · Hosting

Run a Shopify app on IT Tick

Plans: HostingChecked 2026-11-21
On this pageBefore you startStepsIf it does not work

You built a Shopify app and want its web app live on your own domain, with HTTPS, on your IT Tick hosting.

Before you start

  • Plans: every hosting plan. There is no count of apps: your apps, workers and PHP share your plan’s memory and CPU (5 GB: 1 GB memory and 1 vCPU; 20 GB: 2 GB and 1 vCPU; 50 GB: 4 GB and 2 vCPU). A sleeping app uses no memory.
  • The app is created in the Shopify Dev Dashboard, and you have its Client ID and Client secret.
  • The app is made from Shopify’s React Router template (the steps name its files and commands; another framework needs its own start and build commands).
  • You know how to put code on the Apps page: run an app (upload folder) or deploy your app or site from GitHub or GitLab (git push). shopify app deploy only sends the app’s settings and extensions to Shopify; your code goes up through Deploy on the Apps page.
  • If your app needs a background job or a Redis cache, see run a worker and make a Valkey database.

Steps

  1. Keep the database out of the deploy folder, which each deploy replaces. In prisma/schema.prisma change url = "file:dev.sqlite" to url = env("DATABASE_URL"). You will point DATABASE_URL at the data folder in your home (DATA_DIR), which stays across deploys (step 4). For MySQL or PostgreSQL instead, create a database under Databases (create a database) and set provider = "mysql" or provider = "postgresql". The template’s prisma/migrations folder is written for SQLite, so on MySQL or PostgreSQL the build’s prisma migrate deploy stops (on PostgreSQL: type "datetime" does not exist). Before the first deploy, delete prisma/migrations and make one for your database: mkdir -p prisma/migrations/0_init, then npx prisma migrate diff --from-empty --to-schema-datamodel prisma/schema.prisma --script > prisma/migrations/0_init/migration.sql.

  2. In shopify.app.toml, set application_url = "https://your-domain" and, under [auth], redirect_urls = ["https://your-domain/auth/callback"]. Webhook URLs are paths on the same domain: /webhooks/app/uninstalled, /webhooks/customers/data_request, /webhooks/customers/redact, /webhooks/shop/redact. For a public app, uncomment the 3 privacy subscriptions in the toml and add a route for each; the template’s webhook check already answers a bad signature with 401.

  3. Open the IT Tick Panel, press Apps and, under Settings, set:

    • Kind of app: Start command
    • Version: node 24 (recommended) (the template needs 22.12 or newer; 22, 24 and 26 are offered)
    • Start file or command: node_modules/.bin/react-router-serve ./build/server/index.js
    • Build command: npm run build && npx prisma generate && npx prisma migrate deploy
    • When idle: Stays on

    Press Save settings. Use the server command itself, not npm run start or npm run docker-start: the npm wrappers take about 175 MB more memory, and docker-start runs the migration at every start (a 12.5 s cold start, while Shopify allows 5 s per webhook).

    Screenshot of step 3
  4. Under Add or change a variable, save each of these with Save variable:

    • SHOPIFY_APP_URL: https://your-domain
    • SHOPIFY_API_KEY: the Client ID
    • SHOPIFY_API_SECRET: the Client secret (hidden after you save it)
    • SCOPES: the same scopes as in shopify.app.toml
    • NODE_ENV: production
    • DATABASE_URL: file:/home/<your-user>/data/shopify.sqlite, mysql://user:password@localhost:3306/name for MySQL, or postgresql://user:password@localhost:5432/name for PostgreSQL

    Don’t set PORT: we set it (set environment variables). The Build command sees these variables too, so the migration runs during the deploy.

    Screenshot of step 4
  5. Upload your code (or push it) and press Deploy. When State shows On, open https://your-domain: the app answers. Shopify’s App Store review checks for 404 and 500 answers; in our test the template’s pages answered with neither.

    Screenshot of step 5
  6. On your computer, in the app’s folder, run shopify app deploy to send the toml settings to Shopify. Install the app on a dev store to try it.

  7. To check webhooks, press App output and errors: each one shows as Received ... webhook for <shop>. View log next to a deploy shows that deploy.

    Screenshot of step 7

If it does not work

  • A deploy failed at the migration: the last good deploy stays live. Open View log, fix the schema or DATABASE_URL and press Deploy again.
  • Your data is gone after a deploy: the database is still at prisma/dev.sqlite in the deploy folder. Do step 1 and set DATABASE_URL (step 4).
  • Webhooks are slow or Shopify reports timeouts: the app sleeps when idle and takes a few seconds to wake. Set When idle to Stays on: with it, webhooks answered in 15-60 ms in our test, and a fresh start took about 2 s.
  • The panel refuses Stays on with “Your plan’s memory … is in use”: your apps, workers and PHP already use your plan’s memory. The template uses about 110-120 MB. Stop something you don’t need, or move to a larger plan.
  • The app does not start on Node.js 22: the template needs 22.12 or newer. Choose node 24 (recommended) under Version.

Still stuck? A person will help.

Standard support comes with every plan. Premium is an add-on.

StandardA person replies within 24 hours. Included. Help docs and tickets; for a problem on our side, write any hour to support@it-tick.com.
Premium supportA person replies within 1 hour, 09:00-21:00 Cairo time, every day (guidance only). $49 a month.
See support tiersWe support our services (domain, hosting account, email, workspace), not your website or WordPress code.
Updated 2026-11-21Written by IT TickOpen-source credits
Ask support