Code Monkey home page Code Monkey logo

viennar-blog's Introduction

Prerequisites

  • Current version of RStudio
  • Current version of R
  • Git, Github account
  • R-Packages: blogdown, rmarkdown, …
  • Hugo 0.55.6 (can also be installed interactively within R Console later)
blogdown::install_hugo()

Create new Project

In Rstudio, create new project

  1. File -> New Project -> Version Control
  2. Use the following URL: https://github.com/ViennaR/ViennaR-Blog.git
  3. Create new Project

Folder Structure

  • content/post: Posts of the blog
  • static: Images, slides, etc
  • themes: Theme of the blog, should not be touched

Serve Sites

In RStudio: Addins -> Serve Site

Or in the console:

blogdown:::serve_site()

Add new post

In RStudio: Run Addins -> New Post

Publish

To publish site to viennar.org use the following steps:

  1. Turn off hugo build server, if running using servr::daemon_stop()
  2. In case README.Rmd has changed: knit README.Rmd
  3. Run blogdown::hugo_build()
  4. Commit all changes to master
  5. Run git push origin master or simply push Push button

viennar-blog's People

Contributors

mannau avatar gwd666 avatar gwd999 avatar

Stargazers

 avatar  avatar

Watchers

Rainer Stuetz avatar  avatar Bernhard Haslhofer avatar James Cloos avatar phaebz avatar  avatar  avatar Mateusz Żółtak avatar Klaudius Kalcher avatar  avatar Christian Kaindl avatar Krisselack avatar

Forkers

gwd999

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.