All Projects β†’ abhijithvijayan β†’ ghost-on-github-pages

abhijithvijayan / ghost-on-github-pages

Licence: Apache-2.0 license
πŸ’»β° Ghost on Github Pages. Build and deploy Ghost for free in a few minutes.

Programming Languages

shell
77523 projects

Projects that are alternatives of or similar to ghost-on-github-pages

Js.org
Dedicated to JavaScript and its awesome community since 2015
Stars: ✭ 3,996 (+8225%)
Mutual labels:  github-pages, free
aesto
Free Ghost theme with membership support. Minimal content focused design with multi author supported.
Stars: ✭ 31 (-35.42%)
Mutual labels:  ghost, free
Flexible Jekyll
Flexible-Jekyll is a simple and clean theme for Jekyll
Stars: ✭ 531 (+1006.25%)
Mutual labels:  github-pages, free
Ghost On Github Pages
Ghost on Github Pages. Build and deploy Ghost for free in a few minutes.
Stars: ✭ 421 (+777.08%)
Mutual labels:  ghost, free
Git Wiki Theme
A revolutionary full-featured wiki for github pages and jekyll. You don't need to compile it!
Stars: ✭ 139 (+189.58%)
Mutual labels:  github-pages, free
PyDDNS
Complete system to create your own server ddns
Stars: ✭ 57 (+18.75%)
Mutual labels:  free
csharp-docs-generator
An action that generates html documentation for C# programs to use for GitHub pages.
Stars: ✭ 21 (-56.25%)
Mutual labels:  github-pages
CoinHive
A nice friendly simple and easly customizable GUI for coinhives javascript miner to embed onto websites so users of your site can interact with features of the miner on every single page this javascript miner is to help those who have problems with advertisements/advertising/ads popups banners mobile redirects malvertising/malware etc and provid…
Stars: ✭ 58 (+20.83%)
Mutual labels:  free
Valheim-Free-Game-Server-Setup-Using-Oracle-Cloud
Valheim Oracle Cloud Server Setup
Stars: ✭ 24 (-50%)
Mutual labels:  free
actions-publish-gh-pages
🍣 A GitHub Action to publish static website using GitHub Pages
Stars: ✭ 12 (-75%)
Mutual labels:  github-pages
Daring
A minimal theme for Ghost.
Stars: ✭ 32 (-33.33%)
Mutual labels:  ghost
howto
Dumping ground for various HowTo documents that I produce
Stars: ✭ 58 (+20.83%)
Mutual labels:  ghost
MEGA Manager
Cloud syncing manager for multiple MEGA cloud storage accounts with syncing, data gathering, compresssion and optimization capabilities.
Stars: ✭ 29 (-39.58%)
Mutual labels:  free
vue3-md-blog
✍️ Minimal config Vue3 + Markdown blog engine
Stars: ✭ 53 (+10.42%)
Mutual labels:  github-pages
classic-cv
πŸŽ“ FREE Classic CV / Resume HTML Template
Stars: ✭ 52 (+8.33%)
Mutual labels:  free
yoda
GitHub extension for agile project management, using the issues subsystem.
Stars: ✭ 86 (+79.17%)
Mutual labels:  free
thelounge.github.io
🌍 β€Ž The official website for The Lounge
Stars: ✭ 33 (-31.25%)
Mutual labels:  github-pages
free-proxy
Free proxy scraper written in python. It is pypi library - free to use.
Stars: ✭ 115 (+139.58%)
Mutual labels:  free
Onassis
The Onassis Theme for Jekyll
Stars: ✭ 22 (-54.17%)
Mutual labels:  github-pages
design-heaven
πŸ‘Ό Stunning open source design resources for designers and developers
Stars: ✭ 87 (+81.25%)
Mutual labels:  free

Ghost Blog Platform on Github Pages

Visit blog!

https://abhijithvijayan.github.io/ghost-blog-demo/

πŸ™‹β€β™‚οΈ Made by @abhijithvijayan

Donate: PayPal, Patreon

Buy Me a Coffee


Update: The flexibility of this project allows you to push the static site to any github repo and deploy it with any service like Netlify. I'd recommend connecting the repo to Netlify service and deploy it there. Also, Netlify provides features like Custom Domain free of charges.

Table of Contents


Requirements

1) Install Major Dependencies

Install NodeJS

Install a version that is officially supported by Ghost, preferably latest LTS

curl -sL https://deb.nodesource.com/setup_12.x | sudo -E bash -
sudo apt-get install -y nodejs

2) Install Other Packages

Install Homebrew

/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)"

Install Node.js runtime

Ghost is written in Node.js, so you will need the Node.js runtime.

brew install node
brew install wget
sudo apt-get install build-essential

Initialize npm

npm init

Enter the credentials when asked

  • github username in the name field*
  • repository name(eg: username.github.io)
  • a description*

Leave the other less important fields empty.

Install yarn

curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add -
echo "deb https://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/sources.list.d/yarn.list
sudo apt update && sudo apt install yarn

Setup

1) Download and Install Ghost

npm install ghost-cli@latest -g

Change the present working directory

mkdir ghost && cd ghost

Install Ghost

ghost install local --no-start --enable --port 2368

Start Ghost

ghost start

Open browser and navigate to

http://localhost:2368/

image

Login to Ghost

http://localhost:2368/ghost/

Go to the above link in your browser ans if it doesn't show anything, check the status of the blog with

ghost status

Create an account, read the intial blog post how to edit with Markdown etc.

2) Create your GitHub Pages repo

Create a repo with create-remote-repo CLI

You must use the username/username.github.io naming scheme. The repo name must be lower case even if your username has upper case letters.

npx create-remote-repo username.github.io

# Replace with your username

3) Deploy to GitHub Pages

Create a file named deploy.sh with contents from deploy.sh

Give execute permission

chmod u+x deploy.sh

Deploy with

./deploy.sh

For the initial push, please wait up to 10 minutes until GitHub deploys your subdomain.

All upcoming pushes are much faster and you can see your static ghost blog posts at https://username.github.io


Write new Blog posts

To write new Blog posts or update the existing ones, just start Ghost, edit, then generate and deploy the static pages.

cd ghost
ghost start

Visit

http://localhost:2368/ghost/

Login and write new posts

Deploy with wget

After writing new posts, deploy with wget. Run the deploy.sh script/.

./deploy.sh

Enter the credentials when asked!


Voila! You got yourself a ghost blog on github pages

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].