mirror of
https://github.com/agdamsbo/agdamsbo.github.io.git
synced 2024-11-24 13:01:55 +01:00
update infos
This commit is contained in:
parent
eda07836e7
commit
c2ba014403
15
README.md
15
README.md
@ -9,22 +9,30 @@ The official document from RStudio can be found [here](http://rmarkdown.rstudio.
|
|||||||
### Prerequisites
|
### Prerequisites
|
||||||
|
|
||||||
- Make sure that you have the latest versions of R, RStudio and package rmarkdown. I had problems of encoding because of that.
|
- Make sure that you have the latest versions of R, RStudio and package rmarkdown. I had problems of encoding because of that.
|
||||||
- Make sure that you have enabled Git in RStudio. More information can be found [there](https://support.rstudio.com/hc/en-us/articles/200532077-Version-Control-with-Git-and-SVN).
|
|
||||||
|
- Make sure that you have enabled Git in RStudio. More information can be found [there](https://privefl.github.io/advr38book/good-practices.html#git).
|
||||||
|
|
||||||
- You need a GitHub account.
|
- You need a GitHub account.
|
||||||
|
|
||||||
### Make the first version of your website
|
### Make the first version of your website
|
||||||
|
|
||||||
- Fork this repo (top-right) and rename it to be 'YOURGITHUB.github.io' (in Settings of your brand new repo).
|
- Fork this repo (top-right) and rename it to be 'YOURGITHUB.github.io' (in Settings of your brand new repo).
|
||||||
|
|
||||||
- Get the link from cloning the repo. Use the green button "Clone" and make sure you use SSH, not HTTPS. Then, go to RStudio, create a New Project > Version Control > Git and copy this link. You have cloned your new repo as an R project.
|
- Get the link from cloning the repo. Use the green button "Clone" and make sure you use SSH, not HTTPS. Then, go to RStudio, create a New Project > Version Control > Git and copy this link. You have cloned your new repo as an R project.
|
||||||
- Use `rmarkdown::render_site(encoding = "UTF-8")` in the console. Or just `Ctrl/Cmd + Shift + B`.
|
|
||||||
|
- Build the website by running `rmarkdown::render_site(encoding = "UTF-8")` or just `Ctrl/Cmd + Shift + B`.
|
||||||
|
|
||||||
- Commit and push everything from RStudio.
|
- Commit and push everything from RStudio.
|
||||||
|
|
||||||
- Go see your new website at https://YOURGITHUB.github.io/.
|
- Go see your new website at https://YOURGITHUB.github.io/.
|
||||||
|
|
||||||
### Change the content of your website
|
### Change the content of your website
|
||||||
|
|
||||||
- Modify `_site.yml`, `index.Rmd`, `about.Rmd`, `cv.Rmd` and `CV.pdf` with your own content.
|
- Modify `_site.yml`, `index.Rmd`, `about.Rmd`, `cv.Rmd` and `CV.pdf` with your own content.
|
||||||
- Use `rmarkdown::render_site(encoding = "UTF-8")` again. At any moment, you can preview your website locally, by rendering your site and viewing any of your local html file in your Web Browser.
|
- Build your website again. At any moment, you can preview your website locally, by rendering your site and viewing any of your local html file in your Web Browser.
|
||||||
|
|
||||||
- Commit and push everything from RStudio.
|
- Commit and push everything from RStudio.
|
||||||
|
|
||||||
- Go see your new website with your own content at https://YOURGITHUB.github.io/.
|
- Go see your new website with your own content at https://YOURGITHUB.github.io/.
|
||||||
|
|
||||||
### The blog part
|
### The blog part
|
||||||
@ -37,6 +45,7 @@ If you want to add a static blog to your webpage, go [there](https://github.com/
|
|||||||
|
|
||||||
You can see for example
|
You can see for example
|
||||||
- [my own website](https://privefl.github.io/),
|
- [my own website](https://privefl.github.io/),
|
||||||
|
|
||||||
- [the website of the R user group in Grenoble](https://r-in-grenoble.github.io/).
|
- [the website of the R user group in Grenoble](https://r-in-grenoble.github.io/).
|
||||||
|
|
||||||
## Conclusion
|
## Conclusion
|
||||||
|
Loading…
Reference in New Issue
Block a user