Discussing Shopify Functions development, deployment, and usage in Shopify apps.
I have read the deployment docs, but can not get an understanding of how to deploy an app to a basic server.
We are a small team, and wish to host manually on our server, we don't want to use Docker or any of those automated tools.
I am not sure what config files we need to modify to point to the app on our server. We will be using git to deploy, and manually run the npm commands (we are using javascript/React).
Are you looking to distribute your app on the app store or is it for client stores?
We run a Shopify+ website, where we sell product. We wish to distribute in such a way that we can test on one of our noncritical sites first, then move to our main store. So it is an internal app, we don't need to distribute to other stores (other than our own).
Perfect, then what you would do is create what is called a "Custom App". This will allow you to create EVERYTHING on your own system and make requests with an API key.
Here is the documentation on that: https://help.shopify.com/en/manual/apps/app-types/custom-apps
We already have quite a few custom apps. What I am wondering is how we incorporate things like Checkout Extensions and Functions into them.
You can simply add them to your app and use the `app deploy` command to deploy them to Shopify. App extensions such as Checkout Extensions and Functions are hosted entirely on Shopify.
https://shopify.dev/docs/apps/deployment/extension
Nick Wesselman | Shopify
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution
- To learn more visit the Shopify Help Center or the Shopify Blog
Hello,
Did you find a solution ?
I would like to do the same think, deploy on a basic server.
Thank you for your reply
Benjamin
I did, I ended up using caprover/docker.
It's pretty straightforward if you're looking to host an app on a generic server. I’ve found that services like Blue Angel make it super easy. They’ve got a user-friendly interface that guides you through the process