Skip to content

Nitrolabs/meteor-cdn-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Meteor-cdn-demo

Simple demo project used to test nitrolabs:cdn. This demo is serving live at http://cdn.nitrolabs.com/.

Running

The project can be run on a development machine. The project should be tested with and without the CDN enabled

git clone https://github.com/NitroLabs/meteor-cdn-demo.git
cd meteor-cdn-demo

# Without the CDN enabled
meteor

# With the CDN enabled
export CDN_URL=http://www.mycdn.com/ && meteor

The second example will not actually work unless http://www.mycdn.com points back to the webserver. However, the javascript and css links should point to cdn url.

Testing

This package has extensive unit tests

meteor test-packages nitrolabs:cdn

Licence

MIT

About

Demo Meteor project for meteor-cdn

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published