0
votes

I'm new to using Terminal, and I'm wondering where the files for my theme are being installed using Shopify Theme Gem. I've gone through the installation instructions on GitHub (https://github.com/Shopify/shopify_theme) and I've looked through the documentation provided by Shopify, but I haven't seen where I'm downloading the theme files I'll be editing (or where I should put them myself if I'm customizing Timber).

When I generated the API key and password and ran theme configure [MyAPIKey] [MyPassword] [MyStoreURL], it put the config.yml file in my User folder, which I don't think is the correct place.

When I ran theme download it installed some files in my Library/Ruby/Gems/2.0.0 directory, but no .liquid theme files.

The documentation I've seen so far isn't very specific, at least for me. Where/how should I be installing everything? What am I doing wrong?

1

1 Answers

0
votes

I use that gem all the time. You should make a directory for your work under your User account called "work" or whatever you like. Using the terminal cd into that new directory and commence the following pattern:

mkdir foomanchu <=== makes a directory for a store with name foomanchu
cd foomanchu
theme configure api pwd theme_id #
theme download

I use version control by git, so I also do:

git init
git add .
git commit -am 'initial commit of foomanchu'

and now I work... and it is pretty much as good as it gets.

You should use Timber from Shopify if you're a rookie though... I have 30 years experience with the command line and you probably don't.