Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trial
Brian Hayes
20,986 PointsSetting up GitHub repository for a client's static site. Do I make them their own account?
This is the first time I've done a full static site for a client. I usually do this kind of thing for mock ups, while most of my live stuff dealt in the realm of WordPress.
What I'm wondering here is: do I just make the repository with my GitHub account in a subdirectory/team/organization, or do I create a GitHub account for the client and attach myself as someone who controls the repository?
3 Answers
Kevin Egstorf
26,590 PointsWhen developing an App with no particular code you would want to have ownership of, I would say write code on a repo that they own.
Working on a clients/customers repo is the only way i have been doing it so far.
Kevin Korte
28,149 PointsDoes the client need their own github account? Do they even know what github is? There is no right or wrong answer, but in my opinion you wrote the code, you developed the site, the repo should be under your account. The version control is for you.
Later down the road if you wanted to delete the repo, or transfer ownership of the repo to another developer who was going to carry the torch, you could do that on github. But if you're going to have numerous clients, all with different accounts that you will provide updates and bug fixes on, you're going to make a headache for yourself if they're all just not easily under your account.
nulled
1,890 PointsIt depends if your client is an organization or simply just a person needing a website designed and developed. When I designed and developed a website for a friend, I simply sent him the folder of my work. He then setup his website using Github Pages.
When in doubt just contact the client. And please do so. There shouldn't be any ambiguity.
Brian Hayes
20,986 PointsI agree, being in close contact with the client is big, which in this case I very much am. I know, however, that the client will defer to me and most likely just trust my judgment on the matter. I'm pretty much trying to make sure my judgement is decent lol.
Brian Hayes
20,986 PointsBrian Hayes
20,986 PointsThis client has no presence on GitHub at all. I ended up creating an organization for them, though for now, I'm the only one in it. I figure though, if in the future, another developer jumps on, I can easily transfer things this way.