Commands to execute
truffle init
Write the contract code, set up migration script and then compile in VSCode
truffle deploy --reset
Note:- In earlier versions of MetaMask, Ropston and Rinkeby was used as a Public Test BlockChain Network, but they are now considered as depreciated networks, so new Networks such as Celo, Aurora etc can be used as a replacement of the above mentioned for testing.