Here is a short post on how to deploy your Dapp using Netlify.
Pre-requisites: Github account. Netlify account. Truffle project with Solidity smart contracts all ready deployed to Rinkeby through the Truffle React box. A front end in ReactJS. Metamask. Rinkeby testnet Ether or mainnet Ether.
Setup a Github repo with your project uploaded via Git.
Within your repo, init git and upload your files to the repo.
git init git remote add origin http://www.github.com/username/repo.git git add . git commit -m "first commit" git push origin master
After this, then setup a Netlify account on Netlify.com. Log in with your Github account.
Setup the build command to be
npm run-script build within the
And the base directory to be
The publish directory should be
deploys and click
trigger deploy and select
Wait for it to build, then visit your custom domain!
If all went well, you have deployed your Dapp to Netlify!