Skip to content

A Few Cleanups to Test Auto Deploy#2

Open
bkellogg wants to merge 4 commits intomasterfrom
bkellogg-cleanup-auto-deploy
Open

A Few Cleanups to Test Auto Deploy#2
bkellogg wants to merge 4 commits intomasterfrom
bkellogg-cleanup-auto-deploy

Conversation

@bkellogg
Copy link
Copy Markdown

@bkellogg bkellogg commented Feb 8, 2019

  • Removes node_modules and package-lock.json which are not needed in a static website.
  • Removes .DS_Store which is a MacOS file for storing attributes in a folder. This is not needed here.
  • Adds a .gitignore which should prevent a few things from coming back into the repo.
  • Fixes the WINFO logo link to index.html on a few pages.
  • Lowercases some image extensions to help with case-sensitivity issues.

NGINX, the webserver that serves the site on https://winfo.ischool.uw.edu, is case sensitive by default. This caused a few images to not load, but if the extensions are changed through the element inspector they will load correctly. For example, take a look at the OUR MISSION section on the site index. This PR should fix all of these issues. Just something to keep in mind for the future :)

Additionally, the auto deploy server is up and running again and has been updated to be more tolerant of server restarts and the like. The site has been updated to the latest git sha on master. It should automatically restart if the server restarts, but I can show someone how to restart it as well as how it works so hopefully it'll become less magical and easy to be managed or improved upon in the future. Let me know!

@sburd36 @huibrm

@bkellogg bkellogg requested review from huibrm and sburd36 February 8, 2019 07:11
Comment thread .gitignore
node_modules/
.vscode/
.idea/
.DS_Store
Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It also may be prudent to add these lines to your global gitignore.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant