November 2018
Intermediate to advanced
528 pages
13h 21m
English
Let's start by deploying our frontend to IPFS. First, we need to decide which files are required by the frontend, and add them to a directory that we can add to IPFS. With reference to Chapter 8, Creating an ICO, the following files will be required:
From the root of our ICO project, add the contents of these directories to a new directory that we'll use for the deployment to IPFS:
$ mkdir dist$ rsync -r src/ dist/$ rsync -r build/contract/ dist/
Then, add the new directory to IPFS by using the add command that we met earlier, passing it the recursive -r flag, ...
Read now
Unlock full access