- Install Jekyll.
- Clone this repository and
cd. - Run
bundle installto install all the required 'gems'. - Run
bundle exec jekyll serve --livereloadto build the site and run it on a local server.
- SSH into the website server
cdinto the repo- Pull latest changes from GitHub
- Run
bundle exec jekyll build - This will build the site in
_sitefolder - Copy the contents of
_sitein/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.inserver (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