Here are the steps I went through, more or less, to build this blog.
The tech stack here is pretty simple: Digital Ocean droplet, Nginx web server, and Jekyll.
First step is to set up your Digital Ocean account. Now if you don’t have a Digital Ocean account, let me know and I’ll send you my code :wink: Free money for both of us.
I used a $5 a month droplet with a Ubuntu distribution.
After that you should follow the 3 part guide on connecting to your droplet with ssh here.
Second step, now that you are connected to your droplet over ssh, install Nginx and Git.
Jekyll Blog and Git
Third step is to start building your Jekyll blog locally (tips), push it to a git repo like github or bitbucket, then make it automatically push to your digital ocean server at the same time using git post-receive hooks here.
After all of this I got an error from the server when I tried to push. This was the error:
remote: jekyll 2.5.3 | Error: Permission denied @ dir_s_mkdir - /var/www/yourblogdirectory/meta/2012
To fix that I just changed the read/write permissions of the directory. Not the ideal solution but it works for now:
sudo chmod -R 777 /var/www/yourblogdirectory
For styling, you might want to use the Jekyll themes site to get a decent style to start with that you can configure later.
Let me know if you followed this guide and it didn’t work for you. I probably missed something!