tutorial on how to create a repository