Ok this is pretty cool. If you are signed up to Github you can host your website completely free of charge.
All you need to do is…Create a new repository on github.com. This is gonna be where your site lives.
If you’re cloning using Github for Mac/Windows:
- You can clone from within the software once signed in here:
- Next you decide where it will live and then it’s cloned
- Once you make changes they will appear in the timeline at the top as a node
- When it’s ready to commit, add a commit message, click commit and finally click Sync in the top right corner and thats it
If you’re cloning through the terminal use: git clone https://github.com/username/username.github.io
- When you want to push the changes you’ve made locally use:
- git add —all (to add to the queue)
- git commit -m ‘Initial commit’ (to leave a descriptive message of the changes made)
- git push – origin master (to finalise the change to the master branch)
Assuming this has all been done correctly you’re done! Haza!
I since tested the same site on Github pages and Blacklight and Github pages was significantly quicker.