Try running some of the following tasks:
Set up Truffle
npm install -g truffle
npm install --save truffle-hdwallet-provider
Create your contract in ./contracts
Deploy your contract
In ./migrations, create a deployment script specifically named 2_deploy_contracts.js
Make sure to replace mnemonic and API_KEY with your own.
truffle deploy --network ropsten
truffle console --network ropsten
HelloWorld.deployed().then(function(instance){return instance });
HelloWorld.deployed().then(function(instance){return instance.sayHello()});