compiles and deploys