I am now able to use truffle to deploy my contracts in my private blockchain. Now I want to understand how to integrate truffle with SWARM and IPFS for web app deployment. It will be helpful if you could share links giving actual examples this integration showing how to perform these operations.
Watch this demo to setup IPFS node
Once Node is setup and you are able to create files in your node and access it then follow these steps.
Command to install the ipfs js library
npm install ipfs --global
Here is the sample code to perform operations on an IPFS node
This is the place where one can find all details for IPFS NodeJS integration