Skip to content
Grav 2.0 is officially stable. Read the announcement →
Archive

Best practice with custom theme and source control

Started by Muut Archive 10 years ago · 1 replies · 332 views
10 years ago

Hi all,

I am trialling out Grav for some upcoming projects and I am a bit unsure of the best way to handle source control of the theme directories for custom themes that I don't want to make public ( custom for this project only ).

I've got a new custom theme created in /user/themes/<my-new-theme> which is working great. But the user/themes directory is .gitignored by grav when grav is installed via composer create-project.

I am assuming best practice is to separate out the theme into a separate git module and bring that in through the grav cli via dependencies? That's a bit heavy weight for what I am trying to do, are there simpler options available?

Thanks.

Suggested topics

Topic Participants Replies Views Activity
Archive · by Deleted User, 9 years ago
0 1369 9 years ago
Archive · by Muut Archive, 9 years ago
2 942 9 years ago
Archive · by Muut Archive, 9 years ago
2 4069 9 years ago
Archive · by Muut Archive, 9 years ago
1 2960 9 years ago
Archive · by Muut Archive, 9 years ago
3 1125 9 years ago