How to Host Your Shopify App STEP BY STEP | Fly.io, Heroku, and DigitalOcean

แชร์
ฝัง
  • เผยแพร่เมื่อ 8 ม.ค. 2025

ความคิดเห็น •

  • @muhammadumair9743
    @muhammadumair9743 ปีที่แล้ว +4

    Your content is adding value to my life, I see every video of your channel 👍🏻

    • @devwithalex
      @devwithalex  ปีที่แล้ว +1

      Very glad to hear that, thank you for watching!

  • @wilmerramirez3631
    @wilmerramirez3631 ปีที่แล้ว

    Bro your content is so awesome and the way you teach is great. I just wish we had content more oftenly, or even a Shopify App development course somewhere.. I'd be more than happy to follow you all along.

  • @archiee1337
    @archiee1337 ปีที่แล้ว +2

    Another great tutorial man! I'm particularly interested in payments, tiers etc - will you do a video on that?

    • @devwithalex
      @devwithalex  ปีที่แล้ว

      Yep, I'll add it to my list! Thanks for the suggestion

  • @jinsy_
    @jinsy_ ปีที่แล้ว +1

    This is awesome! The perfect tutorial! Nice work !!

  • @TheNewGreenIsBlue
    @TheNewGreenIsBlue 28 วันที่ผ่านมา

    Great video! Thank you! I am building an internal (custom) app that will be used on a couple of our stores (but not available on the store). Is it possible to run it on storeA and storeB just by putting different `toml` files on different branches or is more involved?

  • @turokhunter22
    @turokhunter22 ปีที่แล้ว +1

    Awesome, This was really helpful for getting my custom app running. A video suggestion: I haven't been able to find anything on the admin links extension. How do you get admin links from a product detail page to properly direct to your custom app's product page?

    • @devwithalex
      @devwithalex  ปีที่แล้ว

      I'll add that to my video list! I haven't done much with admin links so I'll do a bit of research and cover that soon

  • @charliebla12
    @charliebla12 ปีที่แล้ว

    Goat 🐐 I was waiting for this!

  • @halogenic
    @halogenic ปีที่แล้ว

    Thank you! This is just what I needed.

  • @VictorGarza-q4q
    @VictorGarza-q4q ปีที่แล้ว

    Thanks for the tutorial, specially the one from DO, if you have an example of using databases and how the session storage management is, that would be awesome. Best.

    • @sajidmasood5304
      @sajidmasood5304 ปีที่แล้ว

      Dear Please reply on this. I'm getting database connection issue

  • @philipbeauford
    @philipbeauford ปีที่แล้ว

    My man, great video!.. btw for any windows users I had to first use “flyctl” instead of “fly” for first commands.. then also had to install via chocolatey to see/use flyctl cmd in my Shopify app directory

  • @jtsverse8220
    @jtsverse8220 ปีที่แล้ว

    This is awesome man, following those steps are easy. I just had one problem with the digital ocean where I kept on getting a "deploment failed" along the process. I tried deploying a freshy installed shopify remix app (latest one) but still got same error. Can you somehow show me how to do it in the latest shopify remix? Thanks a lot.

  • @dennyraymond7505
    @dennyraymond7505 ปีที่แล้ว +1

    Thanks for the tutorial! Can you do the deploy for public apps too, so it can install by multiple store? That would be awesome, Best.

  • @jwk05003
    @jwk05003 ปีที่แล้ว +1

    Thank you. I used the same node template and deployed on Heroku. How can I now view the contents of the root>web>database.sqlite file that the template writes user login to? Thanks!

  •  ปีที่แล้ว

    Thanks for this great tutorial!

  • @leonide2906
    @leonide2906 ปีที่แล้ว

    Thank you for your video. But what about the database and user authentication ? AWS, for example, included a lot of tools so that we do not have to manage these features (DynamoDB, AppSync, Cognito, Amplify, ...).

  • @JayRootways
    @JayRootways 4 หลายเดือนก่อน

    Hi @Alex, I want to ask you that How to manage the app with theme app extension as you know app extension are hosted by shopify So How should I prevent them from hosting on digital ocean. Can you please provide solution or a make video on it. It will be better if you make video based on the latest template i.e. Remix app template

  • @MS-de1it
    @MS-de1it ปีที่แล้ว

    First! Awesome Alex!

    • @devwithalex
      @devwithalex  ปีที่แล้ว +1

      Thanks for watching :)

  • @NehaD-ri9gv
    @NehaD-ri9gv 7 หลายเดือนก่อน

    This is helpful tutorial! Do you have any documentation or tutorial for How to deploy remix app with Extension, is it possible to use same domain for multiple shopify partner if yes then how can i achieve that?

  • @icestoregroup
    @icestoregroup ปีที่แล้ว

    Excellent hosting tutorial !! thank you

  • @TIVIPREMIUM-v4m
    @TIVIPREMIUM-v4m 10 หลายเดือนก่อน

    Thanks Alex for the tutorial. Can you make a video about using FlyIO persistent volume to store the Shopify database?

    • @FabianMartinez-d7j
      @FabianMartinez-d7j 10 หลายเดือนก่อน

      and how to replicate/keep synched the db.... Flyio suggests to deploy 2 VM per app with a volume attached to each (in case one VM goes down, the other continues serving the app .. and the db).

  • @GlassyDrink
    @GlassyDrink 10 หลายเดือนก่อน

    Hello Alex, THank for your video..
    One question, they are differences between app deployment and app proxy?

  • @nguyetem0208
    @nguyetem0208 ปีที่แล้ว

    Hi Alex, could you continue this video with deploy/release extension? I followed your ways to deploy to digital ocean, it works like you did but I when I do checkout to verify the extension it doesn't appear. I checked on console saw an error related private access token(401 status code). Thank you very much

  • @YuvrajSinghGurjar-q2c
    @YuvrajSinghGurjar-q2c ปีที่แล้ว

    Hi, Alex how do host the Shopify custom app on it "Shopify App Store" and install it on a different partner website?

  • @yoanngasque9360
    @yoanngasque9360 ปีที่แล้ว

    thank's for this video it's very useful and well explained

  • @YairOhana-h3f
    @YairOhana-h3f 18 วันที่ผ่านมา

    Great tutorial. not sure why, but I have encountered so many issues with the sqlite db. any chance that you could help with these ?

    • @devwithalex
      @devwithalex  12 ชั่วโมงที่ผ่านมา

      What issues are you seeing? This video is sadly a little outdated now, but if you follow the hosting instructions on the shopify[dot]dev guide I linked it should work

  • @nihalmalik7546
    @nihalmalik7546 10 หลายเดือนก่อน

    i have a question can i use this DO account as multiple projects like i have a shopify app and a different node project as well, or this is only for shopify apps

  • @GrowCommerce-r4t
    @GrowCommerce-r4t ปีที่แล้ว

    Hi Alex,
    I have a question, Which hosting provider is easy and scalable support to the Shopify node app using CLI3.

  • @main5344
    @main5344 5 หลายเดือนก่อน

    Hey Alex! Are you considering updating the Digital Ocean deployment workflow? Since the CLI, Remix template and other packages have updated.

    • @devwithalex
      @devwithalex  2 หลายเดือนก่อน

      Yes, I'll make a note of that!

  • @pravinchhasatiya7607
    @pravinchhasatiya7607 10 หลายเดือนก่อน

    Can you please create a video for deploymen on AWS server using Docker ?

  • @Captain_NoCAP
    @Captain_NoCAP ปีที่แล้ว

    Keep the good content coming

    • @devwithalex
      @devwithalex  ปีที่แล้ว

      Will do, thanks for watching!

  • @VanNguyen-cr6ns
    @VanNguyen-cr6ns 6 หลายเดือนก่อน

    Can we integrate with cloudfront to speed up perf?

  • @arifurrahman5993
    @arifurrahman5993 ปีที่แล้ว

    Thank you for your tutorial. What you suggest for app with mongo db. Will digital ocean offer that or need to use mongo db cluster
    Thank you

    • @devwithalex
      @devwithalex  ปีที่แล้ว

      I personally don't use MongoDB but DigitalOcean does have database hosting, including Mongo
      www.digitalocean.com/products/managed-databases

  • @sanjeevvishwakarma8055
    @sanjeevvishwakarma8055 ปีที่แล้ว

    How can i host my post purchase app on AWS server? Please answer 🙏

  • @MikeDavis-u7i
    @MikeDavis-u7i 9 หลายเดือนก่อน +1

    I am developing a custom app for our store. This will not be made public and atm I have installed this via a distribution link. Do I have to hose my app under these circumstances?

    • @akshuvo
      @akshuvo 8 หลายเดือนก่อน

      Yes unless the app is theme extension only

  • @SriRam-yy1iq
    @SriRam-yy1iq 8 หลายเดือนก่อน

    Can you explain how to host the shopify app using cloudflare pages

  • @MultiChinmay
    @MultiChinmay 11 หลายเดือนก่อน

    hi, I keep getting "ruby environment not found" error. I am not sure if I am doing something wrong. Can you please help me? May be my docker file is not correct.

  • @siprogramming508
    @siprogramming508 3 หลายเดือนก่อน

    i am having issue when hosting my shopify node app Redirecting outside of Shopify
    Apps can only use /exit to reach Shopify or the app itself. it will to much urgent please give me solution

  • @MS-de1it
    @MS-de1it ปีที่แล้ว

    Alex, after you deploy your app to Digital Ocean how do you manage the version that will ultimately by "the prod version" and the version that you keep developing? Using git branches, I suppose?

    • @MS-de1it
      @MS-de1it ปีที่แล้ว

      Do you recommend using a deployment tool like Capistrano to push your changes to Digital Ocean (and manage versions)?

    • @devwithalex
      @devwithalex  ปีที่แล้ว +1

      You'll need to create a new app in the Shopify admin, so you'll have the original one that is the production version and is hosted on Digital Ocean or other platform, and then another app that runs off the same codebase but you'll use it locally for development (and that codebase of course can have different branches you'll use locally). If you wanted to host a staging environment or something as well, then you can just create a new project in Digital Ocean, hook it up to the same repo but have it run off of a different git branch such as "stage" or something. So if you want to update prod, push your changes to "main". If you want to update the staging environment, push your changes to "stage" branch, etc. As far as I know that's the simplest way to manage environments, I'm planning a video that will go over all that as well.

    • @devwithalex
      @devwithalex  ปีที่แล้ว +1

      @@MS-de1it I've never used it, but extra tools aren't necessary here for managing environments. It might be different if you have a very large app but for most people the solution in my other comment will be completely fine

  • @MuhammadAli-ci7qp
    @MuhammadAli-ci7qp 7 หลายเดือนก่อน

    when i add create command i get this Couldn't find that stack.

  • @amitganuwala
    @amitganuwala 9 หลายเดือนก่อน

    Hello Bro, previous app was live but it's gettting port
    error now.

  • @arhamsofttesting
    @arhamsofttesting ปีที่แล้ว

    HI I want to deploy my app on a Ubuntu or VPS server Can you guide me through the steps involved in deploying my app on a Ubuntu server.i don't find any solution when i try to deploy it using CLI it will ask me to login in to Ubuntu you cant open the login page in another tab I am stuck here i hope you understand my question

  • @karimpanacci
    @karimpanacci ปีที่แล้ว

    Hi, I need to develop an app that will be private, that is, aimed only at my customers and the billing takes place outside of shopify, but the app will be the same for everyone, I don't want to put it in the app store, but I saw that you can no longer make private apps aimed at multiple shopify stores, but only custom apps valid for a single Shopify store...
    Should I keep the frontend and backend source code in common and create an app for each store I need to install it on?

    • @TheNewGreenIsBlue
      @TheNewGreenIsBlue 28 วันที่ผ่านมา

      Hey @karimpanacci, did you ever resolve this? I have the exact same issue. One app, three stores that I want to install it on. Did you resolve this?

    • @karimpanacci
      @karimpanacci 27 วันที่ผ่านมา

      @@TheNewGreenIsBlue youtube is giving me problems commenting, I've been trying to reply to you for days but youtube doesn't seem to send the comment...
      I think the problem is that I'm sharing urls

    • @TheNewGreenIsBlue
      @TheNewGreenIsBlue 27 วันที่ผ่านมา

      @@karimpanacci Oh man... thanks so much for trying. Sometimes, I find better success by using YT in the browser rather than the app, if that helps. Or perhaps just send the links directly to my email? I added it to my profile page.
      Either way, thanks for the effort!!!

    • @karimpanacci
      @karimpanacci 27 วันที่ผ่านมา

      @@TheNewGreenIsBlue I sent you an email 👍🏻

  • @jayp2543
    @jayp2543 2 หลายเดือนก่อน +1

    Is this shopify remix app? Because I follow same process but i am not able to deploy my app
    Error - Deploy Error: Non-Zero Exit Code

  • @majia9158
    @majia9158 ปีที่แล้ว

    Very helpful. Are you interested in making videos about app extensions and metafields?

    • @devwithalex
      @devwithalex  ปีที่แล้ว +1

      Yep, will be adding those in my app build videos

  • @AhsanAhmed-ll6ly
    @AhsanAhmed-ll6ly 7 หลายเดือนก่อน

    Hi,
    I'm trying to host my Shopify App on Heroku everything perfectly preform action but last things I'll check URL then Heroku showing error Please guide me how can solve this error
    Application error
    An error occurred in the application and your page could not be served. If you are the application owner, check your logs for details. You can do this from the Heroku CLI with the command
    heroku logs --tail

  • @AbhimanyuArora-df5yb
    @AbhimanyuArora-df5yb 6 หลายเดือนก่อน

    Hi is there any possibility that we can host the app on our own server like godaddy or hostinger

    • @devwithalex
      @devwithalex  6 หลายเดือนก่อน

      Yep, it's possible to deploy an app on pretty much any server platform

    • @AbhimanyuArora-df5yb
      @AbhimanyuArora-df5yb 6 หลายเดือนก่อน

      @@devwithalex Would you make a shrt video on how we can do it, also I facing to get api scope on checkout page.

  • @Yash-Yaram
    @Yash-Yaram ปีที่แล้ว +1

    how can we host shopify app in AWS Server.????????????????

    • @gauravjain8558
      @gauravjain8558 4 หลายเดือนก่อน

      Hey, any luck with hosting it on aws amplify?

  • @pavloskuibida6292
    @pavloskuibida6292 ปีที่แล้ว

    Thx a lot!!!

  • @bligoubloups3899
    @bligoubloups3899 ปีที่แล้ว

    Hello, I'm trying to run the dockerfile locally but with no success.
    I've this error: Cannot initialize Shopify API Library. Missing values for: apiKey, apiSecretKey, hostName, scopes
    So I've modified my shopifyApp() but I don't understand what I sould put in the hostName field.
    My app could run on any shopify shop so I don't understand.
    Thank you for your help.

    • @devwithalex
      @devwithalex  ปีที่แล้ว

      If you're running your app locally, you should be using the `npm run dev` command in the terminal and not trying to run the dockerfile locally. `npm run dev` will auto populate any environment variables and update the hostname automatically and just make your life so much easier. When you're hosting on a platform and are running off a dockerfile thats where you need to add those env vars manually like in the video.

    • @asiffaiz3202
      @asiffaiz3202 ปีที่แล้ว

      @@devwithalex i am facing similar issue while hosting on a platform please i am running `npm run build` command and also update URLs in app setting but nothing working i dont know what i am missing in this process

    • @priyankagadhiya6714
      @priyankagadhiya6714 ปีที่แล้ว

      ​@asiffaiz3202 have you got any solution?? I am facing the same issue

  • @MachHoang-ru7qs
    @MachHoang-ru7qs ปีที่แล้ว

    Could you guide deploy on Linux or something? Please
    Thank you very much

    • @devwithalex
      @devwithalex  ปีที่แล้ว

      I can for sure add that to my list of things to cover, I wouldn't recommend it for most people though since there's more manual work involved and of course more maintenance so using a platform like in the video would be a much best option for most people!
      In the meantime, here's an article I've actually used before covering this: medium.com/@chris.geelhoed/how-to-deploy-node-js-shopify-apps-to-digital-ocean-4b2350840080

    • @MachHoang-ru7qs
      @MachHoang-ru7qs ปีที่แล้ว

      @@devwithalex If you have a video about this installation in linux please let me know. I will check the link you sent me. Thank you so much Alex.

  • @MachHoang-ru7qs
    @MachHoang-ru7qs ปีที่แล้ว

    10 Points

  • @Yash-Yaram
    @Yash-Yaram ปีที่แล้ว +2

    how can we host shopify app in AWS Server.????????????????

    • @gauravjain8558
      @gauravjain8558 4 หลายเดือนก่อน

      Hey, any luck with hosting it on aws amplify?