Setting up a repository