Skip to content
This repository has been archived by the owner on Dec 22, 2024. It is now read-only.

lemonase/blog

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

My personal blog and portfolio @ jamesdixon.dev

I am currently using Hugo to generate the static (HTML/CSS/JS) portion site and Blowfish as my theme...

Many thanks to the maintainers of these projects!

hugo commands

common hugo commands

running hugo dev server (watching for file changes and drafts)

hugo serve -D

creating a new post

hugo new posts/{post_name}/{post_name.md}

creating a new project

hugo new projects/{project_name}/{project_name.md}

creating a new website (website showcase)

hugo new websites/{website_name}/{website_name.md}

updating submodules for themes

Note: Git submodules do not get initialized or updated automatically upon cloning/pulling!

To init submodules after cloning:

git submodule init

To update all submodules, run:

git submodule update --recursive --remote --merge

deploying

Here is just a quick rundown of how and where I deploy my site.

I have a small DigitalOcean Droplet VPS running nginx (for servering) and certbot (for certs). Digital Ocean Referral Link below!

There is a deploy.sh script which is just a wrapper around running hugo && rsync user@server:/var/www/html. I have a git hook that runs this script on every git push.

And that is the whole process.

I do not currently use any CI/CD solutions, app platforms or containerization as of now for a few reasons:

  1. small static site (can be served anywhere for cheap)
  2. i don't mind managing my VPS and nginx (compared to something like docker compose)
  3. it works

Maybe sometime in the future, I will containerize everything make a blog post about it... :)

Thank you for reading!

DigitalOcean Referral Badge

About

Source for muh static blog. [deprecated]

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages