Set repository up