provision localhost and server