TempCDN is Fake CDN project for replacing Gorjun CDN project: https://github.com/subutai-io/cdn
There are 2 files to bring up TempCDN:
- Vagrantfile
- vagrant-subutai.yml
It brings up VirtualBox VM Subutai peer, installs git, curl, nodejs
- Specify your network interface to get public IP in Vagrantfile
- Run
vagrant up
- Run
vagrant ssh
- Inside VM run
git clone https://github.com/subutai-io/tmpcdn.git
- Run
cd tempcdn
(tmpcdn) - Run
sudo subutai map add -p http -i localhost:18338 -e 8338 -n {your_ip_address}
- Run
npm install
- Run
node server
Now your FakeCDN is accessible by http://{your_ip_address}:8338/kurjun/rest/raw/info?id={id_of_json_object}