While I love Ghost as a blogging platform, it is not best placed for things other than blogs - after all that is the basic idea behind creation of this wonderful tool.
As I wanted to host a static website using tools that don't require a database or rely on php, I went searching on interwebs.
I came across a lot of options and the most popular one appears to be Jekyll and it's variants (Nikola and such) but they require a lot of terminal activity which won't go well for regular end user responsible for maintaining content of the static website in question.So I continued looking and came across this wonderful project called Grav.
Grav is super fast, very pretty and extremely easy to deploy and maintain. Additionally, it has very good documentation.
The key features that I absolutely loved are as below:
My steps for installation:
sudo unzip grav-skeleton-appi-1.0.0.zip -d /var/www/html/ cd /var/www/html/ sudo mv grav-skeleton-appi-1.0.0/ grav/
nano fixpermissions.shand paste the following code in there.
##!/bin/sh chown <username>:www-data . chown -R <username>:www-data * find . -type f | xargs chmod 664 find ./bin -type f | xargs chmod 775 find . -type d | xargs chmod 775 find . -type d | xargs chmod +s umask 0002
Now make this bash file executable using
chmod a+x fixpermissions.sh
Finally run the bash file from within the grav directory:
cd /var/www/html/grav/ sudo bash /<path_to_fixpermissions.sh>/fixpermissions.sh
<server-ip-address>/grav from the browser and check your install is working
Once it is confirmed to be working, install admin plugin from terminal like so:
/bin/gpm install admin
<server-ip-address>/grav/adminfrom the browser and create your admin login details
Working on Grav is an absolutely pleasing experience and the swift turnaround for a static website is phenomenal. Suffice to say, I hope that this project goes from strength to strength.