Skip to content

robertlarocca/laroccx-website

Repository files navigation

The public website and source code for www.laroccx.com generated with Hugo.

Test website with Hugo server

hugo server --disableFastRender -D -E -F

Build production website with Hugo

hugo --cleanDestinationDir --forceSyncStatic --gc

Sync changes to web server

If hosting this website using GitHub Pages use git commit and git push the changes.

rsync -av doc/ root@nginx.example.com:/var/www/html

Change website ownership and permissions

Ubuntu

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

Red Hat Enterprise Linux

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

About

The public website and source code for www.laroccx.com generated with Hugo.

Topics

Resources

License

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages