- Install Jekyll.
- Clone this repository and
cd
. - Run
bundle install
to install all the required 'gems'. - Run
bundle exec jekyll serve --livereload
to build the site and run it on a local server.
- SSH into the website server
cd
into the repo- Pull latest changes from GitHub
- Run
bundle exec jekyll build
- This will build the site in
_site
folder - Copy the contents of
_site
in/var/www/html
(/usr/bin/cp -R _site/* /var/www/html
) - Your latest changes will now be reflected on https://robotics.iiit.ac.in
-
SSH into the website server
-
Then, do a dry run on the
robotics.iiit.ac.in
server (that hosts our website), verify the output, and carry out the actual renewal. -
certbot renew --agree-tos --dry-run
-
cat /etc/letsencrypt/live/robotics.iiit.ac.in/fullchain.pem
-
certbot renew --agree-tos