Thanks to visit codestin.com
Credit goes to github.com

Skip to content

This is the example static website for the Fastly documentation tutorials.

License

Notifications You must be signed in to change notification settings

mm-inagaki/tacolabs

 
 

Repository files navigation

Introduction to Fastly's CDN 🌮

This is the example static website for the Introduction to Fastly's CDN tutorial.

How to use this

You can fork or clone the repository, check out the fastly-cdn branch, and use the Jekyll static site generator to build the site from scratch.

Alternatively, if you'd prefer not to install Jekyll and the dependencies, you can access the fully built website in the _built directory. You could manually upload the HTML files and assets in that directory to an Amazon S3 bucket.

Running locally

It can be helpful to preview changes on your computer. After forking or cloning this repository and checking out the fastly-cdn branch, perform the following steps to generate the site and preview it:

Building locally

If you want to build the site locally (output to HTML), follow the instructions above to install ruby and the gems, then run bundle exec jekyll build. The site will be built and saved in the _site directory.

AWS S3 configuration

If you decide to host your site in an AWS S3 bucket, you should make the bucket public and enable the S3 static website hosting feature. You may also need to add a bucket policy similar to the one we're using:

{
    "Version": "2012-10-17",
    "Statement": [
        {
            "Sid": "AddPerm",
            "Effect": "Allow",
            "Principal": "*",
            "Action": "s3:GetObject",
            "Resource": "arn:aws:s3:::www.tacolabs.com/*"
        }
    ]
}

Security concerns

To report security concerns with this source code or the Taco Labs website, use https://www.fastly.com/security/report-security-issue.

Gracias

Virtually all of the content for this website was lovingly borrowed from https://github.com/sinker/tacofancy. 🍻

License

MIT license

About

This is the example static website for the Fastly documentation tutorials.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • HTML 99.6%
  • Ruby 0.4%