Solana-twitter
https://lorisleiva.com/create-a-solana-dapp-from-scratch
Make sure you’re on the localnet
solana config set --url localhost
And check your Anchor.toml file
anchor test
Build, deploy and start a local ledger
anchor localnet
solana-test-validator
anchor build
anchor deploy
Copy the new IDL to the frontend
anchor run copy-idl
Serve your frontend application locally
npm run serve
Switch to the devnet cluster to deploy there
solana config set --url devnet
And update your Anchor.toml file
Airdrop yourself some money if necessary
solana airdrop 5
Build and deploy to devnet
anchor build
anchor deploy
Push your code to the main branch to auto-deploy on Netlify
git push