how to create a repository