1. Download and Install IPFS
https://docs.ipfs.io/introduction/install/
2. Initialize a key pair and creates the local repository
$ ipfs init
3. Run the IPFS daemon locally
$ ipfs daemon
4. Listing of peers
$ ipfs swarm peers
5. Add a folder
$ ipfs add -r ipfs/