buttongaq.blogg.se

How to use visual studio code with namecheap
How to use visual studio code with namecheap





You will be prompted to the cPanel File Manager screen. Chose the one you want to deploy to and hover over the second icon under the Products column and click 'Go to cPanel':įrom here, find the 'FILES' section and click on 'File Manager' Once logged in, go to your Dashboard where you'll see all your domain names.

how to use visual studio code with namecheap

Step 2 Build folder setup for deployment in Namecheap Your build folder is ready to be uploaded to Namecheap 🎉🥳 Right-click on the build folder (again) -> Send to -> Compressed (zipped) folder and you are good to go! Right-click on it and click on the 'Reveal in File Explorer' tab which will take you to the build file location on your local machine. Once the folder has been created, you will find it a the top of the folder tree in your project: Prepare your build folder - in VS Code terminal run the command npm run build and wait for the build process to be completed. Make sure that you add your own URL and not mine 😄 Attention! This is a mandatory step and must not be skipped otherwise your deployment will not work.

how to use visual studio code with namecheap

Step 1 Generate your build folder in VS Codeįirst of all, open your project in VS Code and navigate to package.json file and add the URL to the project homepage. I assume that you have already purchased your domain name and hosting with Namecheap so, I will not cover that here. Let's start! I have chosen Namecheap because, well, the service they provide is.cheap and good.

how to use visual studio code with namecheap

The term deploy means, publishing your updated code from source control to a hosting platform If you're a newbie web developer you probably never deployed a website to a web hosting provider before but I'm here to tell you that it is not that difficult and I will show you how to do it step-by-step.







How to use visual studio code with namecheap