SFDX - Create and Deploy Project to Dev Hub using VS Code
In this blog post we are going to create a sample project in Scratch Org and deploy it to Dev Hub using VisualStudio Code using SFDX commands Create DevHub Account: In order to create a Scratch Org we need to have a DevHub Account which can be created using this Link . This DevHub is a free account and is valid only for 30 days to use! Create Scratch Org: Once we have our DevHub Account created and now we can go ahead and create our Scratch Org using below commands Also make sure you have CLI installed for Windows/Mac using Install the Salesforce CLI steps Now lets go ahead and authorize DevHub using " sfdx force:auth:web:login -d -a MyDevHub " from terminal and this will prompt you to allow access screen and once authentication is successful you will see a message saying 'You may now close the browser' like below Now that we have authenticated our DevHub, let's check logging into it using alias name 'MyDevHub' which we gave in above...