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

Поділитися
Вставка
  • Опубліковано 22 гру 2024

КОМЕНТАРІ • 91

  • @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!

  • @YairOhana-h3f
    @YairOhana-h3f 2 дні тому

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

  • @AjeetSingh-hq8fo
    @AjeetSingh-hq8fo 20 днів тому

    Hey Alex, Your content is very helpful. I accidentally found your channel. Very helpful. Please make a video on Hosting shopify app on AWS and Digitalocean . with Docker also.

  • @TheNewGreenIsBlue
    @TheNewGreenIsBlue 11 днів тому

    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?

  • @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!

  • @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

  • @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.

  • @JayRootways
    @JayRootways 3 місяці тому

    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

  • @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, ...).

  • @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

  • @charliebla12
    @charliebla12 Рік тому

    Goat 🐐 I was waiting for this!

  • @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.

  • @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?

  • @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

  • @jinsy_
    @jinsy_ Рік тому +1

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

  • @MS-de1it
    @MS-de1it Рік тому

    First! Awesome Alex!

  • @NehaD-ri9gv
    @NehaD-ri9gv 6 місяців тому

    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?

  • @GlassyDrink
    @GlassyDrink 9 місяців тому

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

  • @VanNguyen-cr6ns
    @VanNguyen-cr6ns 5 місяців тому

    Can we integrate with cloudfront to speed up perf?

  • @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

  • @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.

  • @pravinchhasatiya7607
    @pravinchhasatiya7607 9 місяців тому

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

  • @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).

  • @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

  • @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

  • @sanjeevvishwakarma8055
    @sanjeevvishwakarma8055 Рік тому

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

  • @siprogramming508
    @siprogramming508 2 місяці тому

    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

  • @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!

  • @MikeDavis-u7i
    @MikeDavis-u7i 8 місяців тому +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 7 місяців тому

      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 10 місяців тому

    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.

  • @amitganuwala
    @amitganuwala 9 місяців тому

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

  • @MuhammadAli-ci7qp
    @MuhammadAli-ci7qp 7 місяців тому

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

  • @halogenic
    @halogenic Рік тому

    Thank you! This is just what I needed.

  • @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

  • @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

  • @icestoregroup
    @icestoregroup Рік тому

    Excellent hosting tutorial !! thank you

  • @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

  • @yoanngasque9360
    @yoanngasque9360 Рік тому

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

  • @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 11 днів тому

      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 11 днів тому

      @@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 10 днів тому

      @@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 10 днів тому

      @@TheNewGreenIsBlue I sent you an email 👍🏻

  • @AhsanAhmed-ll6ly
    @AhsanAhmed-ll6ly 6 місяців тому

    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

  •  Рік тому

    Thanks for this great tutorial!

  • @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

  • @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

  • @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?

  • @Captain_NoCAP
    @Captain_NoCAP Рік тому

    Keep the good content coming

  • @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.

  • @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

  • @pavloskuibida6292
    @pavloskuibida6292 Рік тому

    Thx a lot!!!

  • @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?