Giter Club home page Giter Club logo

This is Jiayi Ji's personal website. It is built with blogdown and hugo, now hosted on netlify.

How to Build this site manually

  1. If you are starting from scratch, clone the github repo into RStudio or first creating a project on your computer and then add the directory to your git client (and, optionally, create remote repository).

    • My preferred method of making new repos as RStuio Projects

      1. Start at Github.com > New Repo
      2. Clone [new & empty] Repo as new project into Rstudio IDE running on localhost
      3. git push -- README.md, license.md, and .gitignore

Check out Jeff Goldsmith's lecture material if you want to adopt the latter approach.

  1. library(blogdown) [Resources: github, Yihui's Book]

    • Dependencies:

      • devtools::install_github('rstudio/blogdown')
      • blogdown::install_hugo()
        • only need to do this once, but
        • might need to, occasionally but not initially, run blogdown::update_hugo()
      • blogdown::new_site(theme = "gcushen/hugo-academic")
        • must be a completely empty directory except for .Rproj file
        • view other theme options
  2. blogdown::serve_site()

  3. Edit via Rmarkdown or markdown in the content directory and subdirs

    • Initially, you will have edited the config.toml, plus layouts, and static directories (e.g. CSS, templates, etc. and such)
  4. Make customizations and stylistic (i.e. non-content) changes (CSS, see "static") in the static directory, where the sub-hierarchy of static mirrors the sub-hierarchy into public

    • Do not need to mirror the entire sub-hieary. Customize/mirror only as necessary and appropriate.
  5. Override layouts by ghosting the themes/../layouts/... sub-hiearchy into the layouts directory. See custom-layours documentation

  6. Deployment on Netlify

    • For Manual Deployment, Optionally stop blogdown server. Drag public directory to netlify.com deploy

    • For Continuous Depolyment, set up according to the Netlify Docs pointing to the /public of an appropriate github repository.

      • You need to set Command = hugo_0.31. Otherwise, Netlify won't let you set up your website. I found this through trial and error.

Jiayi Ji's Projects

happyr icon happyr

This is my first try following Jenny's tutorial

janitor icon janitor

simple tools for data cleaning in R

moderndiver-book icon moderndiver-book

ModernDive: An Introduction to Statistical and Data Sciences via R at http://www.moderndive.com

svm-r-markdown-templates icon svm-r-markdown-templates

I have a suite of R Markdown templates for academic manuscripts, beamer presentations, and syllabi. I share them here.

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.