How to use the Shopify CLI for Building Themes

Поделиться
HTML-код
  • Опубликовано: 3 окт 2024
  • Shopify CLI helps you build Shopify apps. It quickly generates Node.js, Ruby on Rails, and PHP apps, app extensions, Shopify Scripts (beta), and Shopify themes. You can also use it for Shopify themes and when automating many common development tasks.
    Shopify CLI accelerates your theme development process with the following features. Safely preview, test, and share changes to themes using development themes. Hot reload CSS and section changes when previewing a theme. Initialize a new theme using Dawn as a starting point. Populate test data for your theme, including products, customers, and draft orders, and a ton more!
    Jump Sections!
    Intro to Theme Development: 00:25
    Connecting the Shopify CLI to a Live Store: 02:20
    Generating a Development Theme: 10:32
    Video Specific Links
    Install the Shopify CLI - bit.ly/3IKPVS2
    Build Shopify Themes - shopify.dev/th...
    Join the Shopify community
    Twitter - bit.ly/2ZG1pV8
    Discord - bit.ly/3kgNnjW
    Github - bit.ly/3GKDSn4
    Community Forums - bit.ly/3nHbTfa
  • НаукаНаука

Комментарии • 40

  • @lodeyo
    @lodeyo Год назад +1

    Liam you are my favorite shopify dev instructor, you break things down in a very accessible way. Hope to see more from you

  • @mariocurkovic7978
    @mariocurkovic7978 2 года назад

    I am pretty new to shopify, i worked on Shopware before but this is much much better. I enjoy the react like bundling of styling, variables and html within sections. And the cli is extremely good work! Thank you for the cli and for this easy to go through tutorial!

  • @emmanuelsoetan1620
    @emmanuelsoetan1620 2 года назад

    Thank you Liam. Wonderful video from the shopify devs team.

  • @nick_merchant
    @nick_merchant 2 года назад

    Wonderful video. Very helpful. Love the way you take time to explain and speak slowly. Thank you.

  • @abuuthmaan
    @abuuthmaan 2 года назад +1

    Awesome. Very helpful tutorial. Thank you, Liam.

  • @easy-now
    @easy-now 2 года назад +1

    This was a great video to get me going. Don't get me wrong, and I usually don't do this... but playing this video at 1.5x speed actually made it easier to understand. Haha. But either way, thank you. Amazing effort !

  • @adventurelens001
    @adventurelens001 Год назад +2

    heads up, you might need to use shopify theme dev instead of shopify theme serve if you're using CLI3. And thanks for this video, very helpful!

  • @philsole
    @philsole 2 года назад +7

    Hi Liam thanks for the video. Can you do a video on the Shopify Github Integration which includes version control strategies for repos with build pipelines?

    • @TheNewton
      @TheNewton 2 года назад

      ​@@shopifydevs try to include the merchant perspective of this, as repo|account transfer and code management are too often afterthoughts resulting in an inability to access version history.

  • @lodeyo
    @lodeyo Год назад

    A note for the login command with CLI 3... from the website "You don't need to log in explicitly. If you aren't logged in, then you're prompted to log in when you run a command that requires authentication."

  • @JustoDebarbieri
    @JustoDebarbieri Год назад +2

    There is no "login" command anymore

    • @hartlomj
      @hartlomj Год назад

      Oh no is this what I'm getting into, Shopify changing their API every year?

    • @PicchiChannel
      @PicchiChannel 10 месяцев назад

      same :(

  • @dirtdeeds
    @dirtdeeds 2 года назад +1

    I cant pull the theme. Terminal says that I am not logged in as the owner. WTF? I am logged in to the development store in the browser as the owner!

  • @herashak
    @herashak 2 года назад

    nice dev vid

  • @seppneimusser5723
    @seppneimusser5723 Год назад

    I love you man you helped me so much °°

  • @emmanuelfleurine121
    @emmanuelfleurine121 2 года назад

    Hi thanks for the video. I would like to see some extensions building setup life. Just how the process should go

    • @liamgriffin6897
      @liamgriffin6897 2 года назад

      Hi Emmanuel - thanks for watching :) We're working on more theme related videos, exploring workflow and building theme components - make sure you're subscribed to find out when they are released!

  • @victormanuelramirez2502
    @victormanuelramirez2502 2 года назад

    7/2/2022 - if you ever receive an error message in the terminal stating " x No store found. Please run shopify login -- store Store to login to a specific store" use the command line at 3:47. This will reset the connection without losing data. Reason: I keep getting the error message when trying to run shopify theme serve in the terminal in visual studio code. Hope this helped

  • @jt9760
    @jt9760 Год назад

    Hello Liam great video. Could you do a Windows version, as I have followed the docs and still running into trouble setting up CLI for Building themes. Many thanks.

  • @iamtanyamarie
    @iamtanyamarie 2 года назад

    I keep getting an error in my console when I try to pull or serve a theme.... I login successfully, I have ruby 3.1.0 installed... I have the latest version of shopify cli installed... but I keep getting "unexpected error "

  • @Demigoddrre
    @Demigoddrre 2 года назад

    thanks bro

  • @tringathaqi1889
    @tringathaqi1889 2 года назад +2

    What about the data you add through Customize?
    How to push these changes to the live store?

    • @tringathaqi1889
      @tringathaqi1889 2 года назад +1

      Liam?

    • @L4ttys
      @L4ttys 2 года назад

      I need this as well ..

    • @billyfairbank
      @billyfairbank 2 года назад

      @@L4ttys shopify theme push should also upload the settings.json file so that should take care of updated settings.

    • @aemediainc
      @aemediainc 2 года назад +1

      @@billyfairbank Unfortunately it does not. It really should, but any JSON changes done on the customizer don't push with the files coming from local.

    • @aemediainc
      @aemediainc 2 года назад +1

      Apparently that have changed it this week…I have yet to test the update.

  • @Human_Evolution-
    @Human_Evolution- Год назад

    I am on Windows and I keep getting errors.

  • @tungphaminh6767
    @tungphaminh6767 2 года назад

    I can't join the discord group. the message says that the invitation has expired.

  • @webdevelopmentandmarketing5317
    @webdevelopmentandmarketing5317 2 года назад

    Hi ! I have this message from my terminal : Your environment Ruby version, 2.6.3, is outside of the range supported by the CLI, 2.6.6..

    • @danielarzanipour8112
      @danielarzanipour8112 2 года назад

      I don't know if you managed to find an answer but I suppose you're probably using a mac right? Mac's come with ruby installed by default in order to run some of its scripts and that version of ruby is a bit old. I think homebrew comes with the most recently installed version of ruby? You're probably going to have to change the default so that when you use shopify commands it doesn't look at the old version of ruby (which you shouldn't update lest some scripts stop working on your computer)

  • @bhargavaprabureddym9693
    @bhargavaprabureddym9693 2 года назад

    We can use hydrogen for building flexible themes

    • @liamgriffin6897
      @liamgriffin6897 2 года назад +3

      For sure Bhargava - Hydrogen is a new option for building storefronts, stay tuned for new content specific to Hydrogen!

  • @mikecmw8492
    @mikecmw8492 2 года назад

    Hi Liam, how would you handle if you made a code change on the shopify theme customize templates or files from browser? So would you "pull" that change down from shopify? Or is it that once you start from your local repo you can only make changes to the theme from your local and push up to shopify but not the reverse?

  • @UnderstandingCode
    @UnderstandingCode 2 года назад +1

    nice

  • @RUMPshit
    @RUMPshit 2 года назад

    Everyone after the new online editor update(downgrade)