Giter Site home page Giter Site logo

personal-site's Introduction

Personal Site Source

The source for my personal site.

This repo holds the sources for my site, which are built using hugo into static html pages. Those pages are stored in the public/ directory, which is a submodule to kengorab.github.io, the repository which will actually be served via Github Pages.

This is kind of a bit of a workaround, in order to not have my "deployed" site in the same repository as the sources. For personal sites, the gh-pages branch paradigm isn't supported, so this is the only thing I could think of.

Building & Deploying the Site

This will most likely be scripted in the future, but here are the steps to deploy changes:

  • Make whatever changes desired (editing markdown files under content/, or making new articles)
    • New articles can be made using hugo: hugo new article/<filename>.md, or just by copying existing ones
  • Run hugo to generate the static html pages, and copy other static assets
  • Commit and publish changes to the public/ directory: cd public && git commit -am "Publishing blog" && git push
    • This will push changes to the kengorab.github.io repository, thereby deploying changes to the site
  • Commit the changes in the root directory: cd .. && git commit -am "<message>" && git push

At this point, the changes have been built and deployed to the site, and the original sources have been commited to this repo.

... I'll definitely script this at some point.

personal-site's People

Contributors

kengorab avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.