Peer assisted content delivery system that uses webrtc connection to deliver image contents of a webpage in a p2p manner between users viewing the images.
Ubuntu 14.04 or greater version
$ https://deb.nodesource.com/setup_7.x | sudo -E bash -
$ sudo apt-get install -y nodejs
$ npm install -g browserify
$ cd [pathtorepos]/PeerAssistedCDN/server
$ npm install
$ node signalling_new.js
$ cd Torrent
$ npm install
$ npm run build
$ cd client
$ npm run build
$ cd [pathtorepos]/PeerAssistedCDN/site
$ npm install
$ mkdir test_images ## copy all the images to this folder
$ node index.js data
$ cd [pathtorepos]/PeerAssistedCDN/site
$ mkdir test_images
$ mkdir metaInfo
$ cd [pathtorepos]/PeerAssistedCDN/infohash-creator
$ npm run build
Then open google chrome and load http://localhost:5000/testsite1