Skip to content

Instantly share code, notes, and snippets.

@tylergaw
Last active December 18, 2019 03:29
Show Gist options
  • Save tylergaw/e6a9c488e3d1f5219e785a70432b378e to your computer and use it in GitHub Desktop.
Save tylergaw/e6a9c488e3d1f5219e785a70432b378e to your computer and use it in GitHub Desktop.

Revisions

  1. tylergaw revised this gist Dec 18, 2019. 1 changed file with 4 additions and 1 deletion.
    5 changes: 4 additions & 1 deletion netlify-migration.md
    Original file line number Diff line number Diff line change
    @@ -25,4 +25,7 @@ v1.tylergaw.com, v2.tylergaw.com, et. al
    - Used [snippet injection](https://docs.netlify.com/site-deploys/post-processing/snippet-injection/) to add [base](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/base) for certain projects in lab
    - Added [config](https://github.com/tylergaw/themanfromhollywood/commit/c9199330649e938177c643d7e563d53809354b17) to allow cors requests of font file from [stackoverflow](https://stackoverflow.com/a/48141681)
    - Audio API cross origin issue [stackoverflow](https://stackoverflow.com/a/32514394) "MediaElementAudioSource outputs zeroes due to CORS access restrictions"
    - Remove all Google Analytics
    - Remove all Google Analytics

    ## 4. Transfer dns
    Change DNS to namecheap basic dns instead of using custom slicehost dns. Wait longer
  2. tylergaw revised this gist Dec 18, 2019. 1 changed file with 2 additions and 1 deletion.
    3 changes: 2 additions & 1 deletion netlify-migration.md
    Original file line number Diff line number Diff line change
    @@ -24,4 +24,5 @@ v1.tylergaw.com, v2.tylergaw.com, et. al
    - Learned about and set up redirects for lab projects
    - Used [snippet injection](https://docs.netlify.com/site-deploys/post-processing/snippet-injection/) to add [base](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/base) for certain projects in lab
    - Added [config](https://github.com/tylergaw/themanfromhollywood/commit/c9199330649e938177c643d7e563d53809354b17) to allow cors requests of font file from [stackoverflow](https://stackoverflow.com/a/48141681)
    - Audio API cross origin issue [stackoverflow](https://stackoverflow.com/a/32514394) "MediaElementAudioSource outputs zeroes due to CORS access restrictions"
    - Audio API cross origin issue [stackoverflow](https://stackoverflow.com/a/32514394) "MediaElementAudioSource outputs zeroes due to CORS access restrictions"
    - Remove all Google Analytics
  3. tylergaw revised this gist Dec 17, 2019. 1 changed file with 2 additions and 1 deletion.
    3 changes: 2 additions & 1 deletion netlify-migration.md
    Original file line number Diff line number Diff line change
    @@ -23,4 +23,5 @@ v1.tylergaw.com, v2.tylergaw.com, et. al
    - Couldn't figure out how to make configuration netlify.toml work with drag and drop deploy. Needed to build those sites locally and deploy the build directory; v4 and v5
    - Learned about and set up redirects for lab projects
    - Used [snippet injection](https://docs.netlify.com/site-deploys/post-processing/snippet-injection/) to add [base](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/base) for certain projects in lab
    - Added [config](https://github.com/tylergaw/themanfromhollywood/commit/c9199330649e938177c643d7e563d53809354b17) to allow cors requests of font file from [stackoverflow](https://stackoverflow.com/a/48141681)
    - Added [config](https://github.com/tylergaw/themanfromhollywood/commit/c9199330649e938177c643d7e563d53809354b17) to allow cors requests of font file from [stackoverflow](https://stackoverflow.com/a/48141681)
    - Audio API cross origin issue [stackoverflow](https://stackoverflow.com/a/32514394) "MediaElementAudioSource outputs zeroes due to CORS access restrictions"
  4. tylergaw revised this gist Dec 17, 2019. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion netlify-migration.md
    Original file line number Diff line number Diff line change
    @@ -23,4 +23,4 @@ v1.tylergaw.com, v2.tylergaw.com, et. al
    - Couldn't figure out how to make configuration netlify.toml work with drag and drop deploy. Needed to build those sites locally and deploy the build directory; v4 and v5
    - Learned about and set up redirects for lab projects
    - Used [snippet injection](https://docs.netlify.com/site-deploys/post-processing/snippet-injection/) to add [base](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/base) for certain projects in lab
    - Added [config](https://github.com/tylergaw/themanfromhollywood/commit/c9199330649e938177c643d7e563d53809354b17) to allow cors requests of font file
    - Added [config](https://github.com/tylergaw/themanfromhollywood/commit/c9199330649e938177c643d7e563d53809354b17) to allow cors requests of font file from [stackoverflow](https://stackoverflow.com/a/48141681)
  5. tylergaw revised this gist Dec 17, 2019. 1 changed file with 2 additions and 1 deletion.
    3 changes: 2 additions & 1 deletion netlify-migration.md
    Original file line number Diff line number Diff line change
    @@ -22,4 +22,5 @@ v1.tylergaw.com, v2.tylergaw.com, et. al
    - It's cool that they automatically handle /good-path when the file is good-path.html. I didn't have to add redirects
    - Couldn't figure out how to make configuration netlify.toml work with drag and drop deploy. Needed to build those sites locally and deploy the build directory; v4 and v5
    - Learned about and set up redirects for lab projects
    - Used [snippet injection](https://docs.netlify.com/site-deploys/post-processing/snippet-injection/) to add [base](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/base) for certain projects in lab
    - Used [snippet injection](https://docs.netlify.com/site-deploys/post-processing/snippet-injection/) to add [base](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/base) for certain projects in lab
    - Added [config](https://github.com/tylergaw/themanfromhollywood/commit/c9199330649e938177c643d7e563d53809354b17) to allow cors requests of font file
  6. tylergaw revised this gist Dec 17, 2019. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion netlify-migration.md
    Original file line number Diff line number Diff line change
    @@ -22,4 +22,4 @@ v1.tylergaw.com, v2.tylergaw.com, et. al
    - It's cool that they automatically handle /good-path when the file is good-path.html. I didn't have to add redirects
    - Couldn't figure out how to make configuration netlify.toml work with drag and drop deploy. Needed to build those sites locally and deploy the build directory; v4 and v5
    - Learned about and set up redirects for lab projects
    - Used [snippet injection](https://docs.netlify.com/site-deploys/post-processing/snippet-injection/) to add `<base href="">` for certain projects in lab
    - Used [snippet injection](https://docs.netlify.com/site-deploys/post-processing/snippet-injection/) to add [base](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/base) for certain projects in lab
  7. tylergaw revised this gist Dec 17, 2019. 1 changed file with 2 additions and 1 deletion.
    3 changes: 2 additions & 1 deletion netlify-migration.md
    Original file line number Diff line number Diff line change
    @@ -21,4 +21,5 @@ v1.tylergaw.com, v2.tylergaw.com, et. al
    - v3 uses ssi. Was using nginx ssi, and years before that apache ssi. Netlify doesn't have support for that, so had to update the site code
    - It's cool that they automatically handle /good-path when the file is good-path.html. I didn't have to add redirects
    - Couldn't figure out how to make configuration netlify.toml work with drag and drop deploy. Needed to build those sites locally and deploy the build directory; v4 and v5
    - Learned about and set up redirects for lab projects
    - Learned about and set up redirects for lab projects
    - Used [snippet injection](https://docs.netlify.com/site-deploys/post-processing/snippet-injection/) to add `<base href="">` for certain projects in lab
  8. tylergaw revised this gist Dec 16, 2019. 1 changed file with 2 additions and 1 deletion.
    3 changes: 2 additions & 1 deletion netlify-migration.md
    Original file line number Diff line number Diff line change
    @@ -20,4 +20,5 @@ v1.tylergaw.com, v2.tylergaw.com, et. al
    - Create cname for each subdomain that points to the site's url
    - v3 uses ssi. Was using nginx ssi, and years before that apache ssi. Netlify doesn't have support for that, so had to update the site code
    - It's cool that they automatically handle /good-path when the file is good-path.html. I didn't have to add redirects
    - Couldn't figure out how to make configuration netlify.toml work with drag and drop deploy. Needed to build those sites locally and deploy the build directory; v4 and v5
    - Couldn't figure out how to make configuration netlify.toml work with drag and drop deploy. Needed to build those sites locally and deploy the build directory; v4 and v5
    - Learned about and set up redirects for lab projects
  9. tylergaw revised this gist Dec 16, 2019. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion netlify-migration.md
    Original file line number Diff line number Diff line change
    @@ -20,4 +20,4 @@ v1.tylergaw.com, v2.tylergaw.com, et. al
    - Create cname for each subdomain that points to the site's url
    - v3 uses ssi. Was using nginx ssi, and years before that apache ssi. Netlify doesn't have support for that, so had to update the site code
    - It's cool that they automatically handle /good-path when the file is good-path.html. I didn't have to add redirects
    - v4 needed to get set up with jekyll [good docs](https://docs.netlify.com/configure-builds/common-configurations/#jekyll)
    - Couldn't figure out how to make configuration netlify.toml work with drag and drop deploy. Needed to build those sites locally and deploy the build directory; v4 and v5
  10. tylergaw revised this gist Dec 15, 2019. 1 changed file with 2 additions and 1 deletion.
    3 changes: 2 additions & 1 deletion netlify-migration.md
    Original file line number Diff line number Diff line change
    @@ -19,4 +19,5 @@ v1.tylergaw.com, v2.tylergaw.com, et. al
    - Create a new Netlify site for each subdomain. Since they are all from the same repo, I just download the zip file from the git tag
    - Create cname for each subdomain that points to the site's url
    - v3 uses ssi. Was using nginx ssi, and years before that apache ssi. Netlify doesn't have support for that, so had to update the site code
    - It's cool that they automatically handle /good-path when the file is good-path.html. I didn't have to add redirects
    - It's cool that they automatically handle /good-path when the file is good-path.html. I didn't have to add redirects
    - v4 needed to get set up with jekyll [good docs](https://docs.netlify.com/configure-builds/common-configurations/#jekyll)
  11. tylergaw revised this gist Dec 15, 2019. 1 changed file with 2 additions and 1 deletion.
    3 changes: 2 additions & 1 deletion netlify-migration.md
    Original file line number Diff line number Diff line change
    @@ -18,4 +18,5 @@ v1.tylergaw.com, v2.tylergaw.com, et. al
    - ^ took a different direction instead of writing manual deploy code
    - Create a new Netlify site for each subdomain. Since they are all from the same repo, I just download the zip file from the git tag
    - Create cname for each subdomain that points to the site's url
    - v3 uses ssi. Was using nginx ssi, and years before that apache ssi. Netlify doesn't have support for that, so had to update the site code
    - v3 uses ssi. Was using nginx ssi, and years before that apache ssi. Netlify doesn't have support for that, so had to update the site code
    - It's cool that they automatically handle /good-path when the file is good-path.html. I didn't have to add redirects
  12. tylergaw revised this gist Dec 15, 2019. 1 changed file with 2 additions and 1 deletion.
    3 changes: 2 additions & 1 deletion netlify-migration.md
    Original file line number Diff line number Diff line change
    @@ -17,4 +17,5 @@ v1.tylergaw.com, v2.tylergaw.com, et. al
    - Asked about doing tag deploys https://twitter.com/tylergaw/status/1205973982568161282 Seems like it's not a thing yet
    - ^ took a different direction instead of writing manual deploy code
    - Create a new Netlify site for each subdomain. Since they are all from the same repo, I just download the zip file from the git tag
    - Create cname for each subdomain that points to the site's url
    - Create cname for each subdomain that points to the site's url
    - v3 uses ssi. Was using nginx ssi, and years before that apache ssi. Netlify doesn't have support for that, so had to update the site code
  13. tylergaw revised this gist Dec 15, 2019. 1 changed file with 3 additions and 1 deletion.
    4 changes: 3 additions & 1 deletion netlify-migration.md
    Original file line number Diff line number Diff line change
    @@ -15,4 +15,6 @@
    v1.tylergaw.com, v2.tylergaw.com, et. al

    - Asked about doing tag deploys https://twitter.com/tylergaw/status/1205973982568161282 Seems like it's not a thing yet
    - I'll need to use [Netlify DNS](https://docs.netlify.com/domains-https/netlify-dns/) for this to work
    - ^ took a different direction instead of writing manual deploy code
    - Create a new Netlify site for each subdomain. Since they are all from the same repo, I just download the zip file from the git tag
    - Create cname for each subdomain that points to the site's url
  14. tylergaw revised this gist Dec 14, 2019. 1 changed file with 7 additions and 1 deletion.
    8 changes: 7 additions & 1 deletion netlify-migration.md
    Original file line number Diff line number Diff line change
    @@ -9,4 +9,10 @@
    - Wait longer
    - I guess it works now?
    - Create a CNAME record for www to lucid-swartz-72ad0e.netlify.com. to redirect www to bare domain
    - SSL takes some time. Wait more
    - SSL takes some time. Wait more

    ## 3. Subdomains for previous versions
    v1.tylergaw.com, v2.tylergaw.com, et. al

    - Asked about doing tag deploys https://twitter.com/tylergaw/status/1205973982568161282 Seems like it's not a thing yet
    - I'll need to use [Netlify DNS](https://docs.netlify.com/domains-https/netlify-dns/) for this to work
  15. tylergaw revised this gist Dec 14, 2019. 1 changed file with 2 additions and 1 deletion.
    3 changes: 2 additions & 1 deletion netlify-migration.md
    Original file line number Diff line number Diff line change
    @@ -8,4 +8,5 @@
    - Be unsure if I set up the DNS correctly
    - Wait longer
    - I guess it works now?
    - Create a CNAME record for www to lucid-swartz-72ad0e.netlify.com. to redirect www to bare domain
    - Create a CNAME record for www to lucid-swartz-72ad0e.netlify.com. to redirect www to bare domain
    - SSL takes some time. Wait more
  16. tylergaw revised this gist Dec 14, 2019. 1 changed file with 2 additions and 1 deletion.
    3 changes: 2 additions & 1 deletion netlify-migration.md
    Original file line number Diff line number Diff line change
    @@ -7,4 +7,5 @@
    - Wait
    - Be unsure if I set up the DNS correctly
    - Wait longer
    - I guess it works now?
    - I guess it works now?
    - Create a CNAME record for www to lucid-swartz-72ad0e.netlify.com. to redirect www to bare domain
  17. tylergaw revised this gist Dec 14, 2019. No changes.
  18. tylergaw revised this gist Dec 14, 2019. 1 changed file with 5 additions and 1 deletion.
    6 changes: 5 additions & 1 deletion netlify-migration.md
    Original file line number Diff line number Diff line change
    @@ -3,4 +3,8 @@
    ## 1. Deploy [repo](https://github.com/tylergaw/tylergaw.com) via Netlify dashboard

    ## 2. Set up with a spare domain to test redirects and subdomains before switching the primary domain
    - [Create namecheap alias record](https://www.namecheap.com/support/knowledgebase/article.aspx/10128/2237/how-to-create-an-alias-record)
    - [Create namecheap alias record](https://www.namecheap.com/support/knowledgebase/article.aspx/10128/2237/how-to-create-an-alias-record)
    - Wait
    - Be unsure if I set up the DNS correctly
    - Wait longer
    - I guess it works now?
  19. tylergaw revised this gist Dec 14, 2019. 1 changed file with 2 additions and 2 deletions.
    4 changes: 2 additions & 2 deletions netlify-migration.md
    Original file line number Diff line number Diff line change
    @@ -1,6 +1,6 @@
    # Migrating tylergaw.com to Netlify

    1. Deploy [repo](https://github.com/tylergaw/tylergaw.com) via Netlify dashboard
    ## 1. Deploy [repo](https://github.com/tylergaw/tylergaw.com) via Netlify dashboard

    2. Set up with a spare domain to test redirects and subdomains before switching the primary domain
    ## 2. Set up with a spare domain to test redirects and subdomains before switching the primary domain
    - [Create namecheap alias record](https://www.namecheap.com/support/knowledgebase/article.aspx/10128/2237/how-to-create-an-alias-record)
  20. tylergaw created this gist Dec 14, 2019.
    6 changes: 6 additions & 0 deletions netlify-migration.md
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,6 @@
    # Migrating tylergaw.com to Netlify

    1. Deploy [repo](https://github.com/tylergaw/tylergaw.com) via Netlify dashboard

    2. Set up with a spare domain to test redirects and subdomains before switching the primary domain
    - [Create namecheap alias record](https://www.namecheap.com/support/knowledgebase/article.aspx/10128/2237/how-to-create-an-alias-record)