Then I installed and started TestRPC (now ganachi-cli). Then, upon changing the environment to Web3 Provider the Account box got emptied, so I had to create a new account by clicking on the plus sign next to Account. Then I tried to deploy the contract again and I got the following error:
Error: sender doesn't have enough funds to send tx. The upfront cost is: 278786 and the sender's account only has: 0
I've been looking in several blogs (like this one) for a workaround either by decreasing the cost of the creation of the contract to zero or increasing the sender's account balance, but I can't find any solution. I'm stuck, please help me.