Development discussions around Shopify APIs
I am thinking of developing a theme for my store and wonder if keeping version control should be strictly private for a store of if it's okay to have it in GitHub.
Solved! Go to the solution
This is an accepted solution.
Reminder Do Not place in public accessible areas themes from the theme store or other themes of which you do not have redistribution rights.
FYI: Github offers private repos for free accounts, since the microsoft acquisition afaik. github.com/pricing
In general for a public repo as long if you follow best practices it's not dangerous.
Meaning your theme contains no secrets: private api keys, customer names, confidential business logic, or privately licensed code from vendors or apps of which you do not have redistribution rights etc.
Confidential business logic can be something as minor as logic that operates on a special customer tag to offer discounts that should not be public.
Another consideration is if you are connecting the theme on the shopify store to the github integration in which case ALL stakeholders or theme contributors MUST be aware that whatever they put in the theme will be on the PUBLIC repo; thus they need to follow privacy practices as well.
This is an accepted solution.
Reminder Do Not place in public accessible areas themes from the theme store or other themes of which you do not have redistribution rights.
FYI: Github offers private repos for free accounts, since the microsoft acquisition afaik. github.com/pricing
In general for a public repo as long if you follow best practices it's not dangerous.
Meaning your theme contains no secrets: private api keys, customer names, confidential business logic, or privately licensed code from vendors or apps of which you do not have redistribution rights etc.
Confidential business logic can be something as minor as logic that operates on a special customer tag to offer discounts that should not be public.
Another consideration is if you are connecting the theme on the shopify store to the github integration in which case ALL stakeholders or theme contributors MUST be aware that whatever they put in the theme will be on the PUBLIC repo; thus they need to follow privacy practices as well.
Thanks, a great answer and it will be helpful to others in the future.
Also see the Dawn reference repo github.com/Shopify/dawn for examples of generic theme code meant for public view.
User | RANK |
---|---|
6 | |
5 | |
5 | |
5 | |
4 |
Learn these 5 things I had to learn the hard way with starting and running my own business
By Kitana Jan 27, 2023Would you love to unleash the unbridled power of the Google Shopping Channel into your sho...
By Gabe Jan 6, 2023How can you turn a hobby into a career? That’s what Emmanuel did while working as a wa...
By Skye Dec 30, 2022