A best way to get started with Ghost, which is easier ways create your own blog.
Running Ghost locally is the easiest way to do some local development.
To install Ghost locally you will need the following:
- A computer running MacOS, Windows or Linux
- A supported version of Node.js
- Either yarn or npm to manage packages
- A clean, empty directory on your machine
In the terminal app in MacOS. Run following commands.
brew install node
brew uninstall node
npm install ghost-cli@latest -g
cd(change directory) to the folder where you want ghost to be installed locally.
ghost install local
Once the install is finished you'll be able to access your new site on
http://localhost:2368/ghost to access Ghost Admin ✨
That's it! You're done.
Ghost runs in a separate background process and remains running until you stop it or restart your computer. So you may find these commands useful for taming it:
ghost stopto stop Ghost
ghost startto start Ghost
ghost logviews logs
ghost lsto list all running Ghost blogs
In the url
http://localhost:2368/ghost/ go through the admin creation process, the you'll be able to see the admin dashboard.
Congratulations, now you have successfully setup the ghost blog locally! ✌️
Go to following Url to see your local blog!
Note: Local installs are not for productions.
Hopefully you are able to install Ghost for suitable blogging platform for you after playing around with it. 😃
Thank you for reading! 😊