Set up the repository for upload