First open the folder as a workspace to store projects
Then press ctrl ` to open the terminal, under window By default, open powershell
and then enter the git clone url command to pull the code of the git warehouse. The ssh address needs to be equipped with a certificate. Here we use http connection
The project is successfully pulled, and you can see the project you pulled next to it
Now compile and run the project, and then continue to open it Terminal, switch to the project and directory, execute npm install, compile
After the compilation is completed, execute npm run to run, follow the dev representative here to run in the development environment, it will Read the configuration of dev
After successful operation, the homepage of the project will be automatically opened
Recommended related article tutorials: vscode tutorial
The above is the detailed content of How to run git project with vscode. For more information, please follow other related articles on the PHP Chinese website!