allow running clear-cache and build without having to define server.baseUrl

add an check in cli setup that makes sure both values are configured before running setup