Using the Fission CLI to publish React sites
Here we'll walk through how to build and deploy a static site using Gatsby, but the process will be the same for any static site.
First, choose a project, and
cd into the project directory. For this guide, we'll use reactjs.org so that anyone can follow along, but if you have another site in mind, use that!
$ git clone https://github.com/reactjs/reactjs.org $ cd reactjs.org
Build the site:
$ yarn build
cd into the build folder
$ cd public
$ fission up 🚀 Now live on the network 👌 QmTurDD2LNBmmrxP2czBmL15415KFoxEXQ8nvJGhLrgJvU 📝 DNS Updated. Check out your site at: 🔗 21ebedd5d4070a521f83.demo.runfission.com
Now copy that link from you terminal to your browser to see your site served live from the decentralized web!