Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Max 2 posts 72 karma points
    Nov 10, 2023 @ 10:19
    Max
    0

    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!

  • Alex Skrypnyk 6163 posts 24143 karma points MVP 8x admin c-trib
    Nov 13, 2023 @ 10:29
    Alex Skrypnyk
    0

    Hello Max,

    1. 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?

    2. 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

Please Sign in or register to post replies

Write your reply to:

Draft