Set up a repository