Hello & Welcome to my first blog post
Reasons to create a website
Welcome to the launch of my first website and my first blog post! My name is Manuel Revilla and I am so excited to share with you all my contributions to the scientific world gathered together in one website. The amount of ideas, how-to’s and inspiration whirling around in my head is ready to jump out.
I wanted to start by telling you why I created this blog, what you will be seeing more of in my posts, and my overall experience of creating my website.
Since I started in academia, I have witnessed the emergence of huge amount of vias to share and disseminate our scientific contributions to an specific area of knowledge and the general public. All of them, to a greater or lesser extent, fulfill their purpose. But sometimes we miss out on valuable information among the wide range of communication channels available. That’s why I decided to create this website as an official way of communication, and make you easier to know more and more about my professional progession as a researcher.
English writing has never been a strong suite of mine and I will tell you, I am no expert on any of this. I try to be a “perfectionist” but I am nowhere near perfect. I figure it will be a lot of trial and error so please bear with me on any grammar/spelling mistakes.
After being inspired to start my website/blog, I wanted to create them in a professional way and would allow me to make updates in a simple and fast way. I could have gone to a web designer, but in that case I would have lost the experience of creating on my own. Taking advantage of my skills in R environment, I decided to built it using RStudio open-source. As a researcher I am used to work programming in R to perform statistical and data analysis, so why not develop my own website using this language and have fun throughout the entire process… This means I would be able to maintain my website in R, have a lot more flexibility and control over the look of my website.
In the next lines I summarize the steps I follow to create my website. For a more detail guideline you can consult the extremely helpful blog of Alison Hill.
- Setting up GitHub Pages:
- Create a GitHub account
- On your dashboard, create a New Repository (your_username.github.io)
- Create a local copy of this repository
Launch RStudio and create a New Project. Navigate to the folder above the working directory you just created from GitHub.
Install blogdown package in your RStudio console:
## Install from CRAN install.packages("blogdown") ## Or, install from GitHub if (!requireNamespace("devtools")) install.packages("devtools") devtools::install_github("rstudio/blogdown")
blogdown::install_hugo() # or library(blogdown) install_hugo()
- Build your site by choosing the Hugo themes that you like the most. If you belong to the academia field, Hugo Academic Theme could be a good choice, this theme offers all the sections present in a standard curriculum vitae with a clean simple interface:
# create a new site with the academic theme blogdown::new_site(theme = ".../hugo-academic", theme_example = TRUE)
Configurate and customizate according your personal preferences. A complete guideline for the Hugo Academic theme can be find here. Running locally
blogdown:::serve_site()in your RStudio project is especially useful as you can inmediately see the changes you have perform. If you would like to have Google monitor the analytics for your site so that you can study traffic flow on your pages, you will need to enable Google Analytics. First, sign up here. It will generate a tracking code for you. Enter the tracking code into
Link or host your local repository on your GitHub repository. For default your website domain will be (https://your_username.github.io/). If you want to set up a custom domain for your personal domain, in my case I buy www.manuel-revilla.com, you can purchase one in Google Domains, is a very straightforward process. After that you can set up the custom domain for your website following the instructions of the GitHub documentation.
Last but not least, show your personal website to the World ;)
Very breef summary of the esencial steps to build your personal website: - [x] Web: GitHub | Create an account using GithHub Pages - [x] RStudio | package needed: "devtools", "blogdown" and "hugo" - [x] RStudio | Configurate and customizate your website - [x] Web: GitHub | Link or host your local repository (https://your_username.github.io/) - [ ] Web: Google Domains | Buy and set up your personal domain
Please feel free to always share your advice and communicate with me along the way!