Ge Lab is the home page of our orgnization. The contain are mainly static.
In order to make the maintaining easily, we decide to use R Markdown generate these pages we need. And, thanks to github.io, we can host the site on github.
Project has two major folder: code/ and docs/. code/ saves all .Rmd files that used to generate the web pages. docs/ saves all web pages we generated by .Rmd files.
- Start R console at project folder (or setwd([directory project folder]) )
- Execute
rmarkdown::render_site(input = "code", quiet=TRUE)
- Result will save in docs/ folder
Click Knit in RStudio will update the changes of that page into docs/ folder.
Commit and push will publish the site to github.io automatically.
Please do not add, delete or modify anything in docs/ folder unless you are going to create pages manually.