课程: Building Monorepos on GitHub

今天就学习课程吧!

今天就开通帐号,24,700 门业界名师课程任您挑!

Building and deploying monorepos with Netlify

Building and deploying monorepos with Netlify

课程: Building Monorepos on GitHub

Building and deploying monorepos with Netlify

- In this lesson we are going to prepare our monorepo to deploy applications. I'm going to use netlify.com to deploy my application. You can create a free account, and once you have it, click on New site from Git. We need to use the same name of our repository to create one site. Here, I'm going to copy the name of my repo, select it, select the branch, where it's going to take the code to deploy. I'm going to leave the base directory blank. And here, we need to include a build command. We're going to run this code inside an external container. That means we need to run the installing process from scratch. So we need to start with npm install dash g @Microsoft/rush That will install Rush. We also have to include rush, install, rush build, rush deploy, with the argument, dash dash overwrite, dash p to select a package and the name of the package or application in this case, Red App. This will create the application…

内容