Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

Installing SilverStripe /

Getting SilverStripe up and running on your computer and on your web server.

Moderators: martimiz, Sean, biapar, Willr, Ingo, swaiba, simon_w

Composer, git and Silverstripe themes


Reply


518 Views

Avatar
_Matt

Community Member, 27 Posts

22 November 2012 at 10:09pm

I wonder if anyone could offer advice on workflow with regards to composer, git and Silverstripe themes.

The issue I have is this.

I use composer to create a project locally and I push that project to my remote git (not github) repository. However, the Simple theme does not seem to be tracked by git and therefore doesn't get pushed.

My hosting is shared virtual hosting and although I have ssh access I can't install composer on it and therefore can't run a composer install/update in the git repo or live site (which would presumably pull in the Simple theme).

What would be the best way to manage my workflow in this instance? Am I just going to have to ignore/remove Simple as a dependency? Obviously I will create my own theme anyway, which I can vc with git in the normal way. But if I want to add my new theme to github and install it using composer in the same way that Simple is installed I'm presumably going to come across the same problem?