The public website and source code for www.laroccx.com generated with Hugo.
hugo server --disableFastRender -D -E -F
hugo --cleanDestinationDir --forceSyncStatic --gc
If hosting this website using GitHub Pages use git commit
and git push
the changes.
rsync -av doc/ [email protected]:/var/www/html
sudo find /var/www/ -type d -print0 | xargs -0 chmod 0755
sudo find /var/www/ -type f -print0 | xargs -0 chmod 0644
sudo chown -R www-data:www-data /var/www/
sudo chown root:root /var/www
sudo chmod 0755 /var/www
sudo find /var/www/ -type d -print0 | xargs -0 chmod 0755
sudo find /var/www/ -type f -print0 | xargs -0 chmod 0644
sudo chown -R apache:apache /var/www/
sudo chown root:root /var/www
sudo chmod 0755 /var/www