Me and my friend are doing a project but have recently hit a wall...
we are stuck with a couple of things.
Issue number 1: We followed Umbracos documentation on version control and copied your .gitignore. But when my friend later cloned the repository it complained that there was no /wwwroot/media file. How do we resolve this issue?
Issue number 2: Do we need to use Umbraco Cloud in a dev enviroment in order to get eachothers document types, or does something like USync resolve the issue. (We dont get eachother changes in our backoffice)
Umbraco needs /wwwroot/media folder on the disk where it's running, so you need to remove "/wwwroot/media/" from .gitignore and push media to repo or create /wwwroot/media/ on each instance. Depending on your requirements, do you want to store media files in the repo?
Umbraco Cloud and USync both can move doctype changes via source control, but Umbraco Cloud is also a hosting and many other things.
Umbraco Backoffice and .gitignore issues
Hello Umbraco!
Me and my friend are doing a project but have recently hit a wall...
we are stuck with a couple of things.
Issue number 1: We followed Umbracos documentation on version control and copied your .gitignore. But when my friend later cloned the repository it complained that there was no /wwwroot/media file. How do we resolve this issue?
Issue number 2: Do we need to use Umbraco Cloud in a dev enviroment in order to get eachothers document types, or does something like USync resolve the issue. (We dont get eachother changes in our backoffice)
Hope it all makes sense :P
Thanks in advance!
Hello Max,
Umbraco needs /wwwroot/media folder on the disk where it's running, so you need to remove "/wwwroot/media/" from .gitignore and push media to repo or create /wwwroot/media/ on each instance. Depending on your requirements, do you want to store media files in the repo?
Umbraco Cloud and USync both can move doctype changes via source control, but Umbraco Cloud is also a hosting and many other things.
Thanks,
Alex
is working on a reply...