Skip to content

willisplummer/elm-personal-website

Repository files navigation

HOW TO DEPLOY CHANGES

This website is hosted on github pages, so only the static index.html file is actually rendered.

This means that changes to the elm code will only be reflected if the latest build is pushed to the gh-pages branch

install everything by running yarn

Then run yarn build and commit the new elm.js file along with your changes.

Test the changes locally by running open index.html

Once you've pushed your changes, the latest should be reflected at willisplummer.com

PRE-COMMIT HOOK

I wrote a pre-commit hook to remind myself to build index.html and commit that too. When setting up a new local environment, simply run the following command from the top-level directory:

$ cp hooks/pre-commit .git/hooks/pre-commit

TO DO's

  • improve deploy to gh-pages workflow

About

My personal website in Elm

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages