<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Mohamed Natheem</title>
    <description>The latest articles on DEV Community by Mohamed Natheem (@mohamednatheem).</description>
    <link>https://dev.to/mohamednatheem</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F647051%2F8bd49ccd-bfb5-4e38-972e-9773ae53e80b.jpg</url>
      <title>DEV Community: Mohamed Natheem</title>
      <link>https://dev.to/mohamednatheem</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/mohamednatheem"/>
    <language>en</language>
    <item>
      <title>How to install Ghost on your local machine [A beginner's guide]</title>
      <dc:creator>Mohamed Natheem</dc:creator>
      <pubDate>Tue, 13 Jul 2021 14:31:58 +0000</pubDate>
      <link>https://dev.to/mohamednatheem/how-to-install-ghost-on-your-local-machine-a-beginner-s-guide-3hgi</link>
      <guid>https://dev.to/mohamednatheem/how-to-install-ghost-on-your-local-machine-a-beginner-s-guide-3hgi</guid>
      <description>&lt;p&gt;&lt;a href="https://ghost.org/"&gt;Ghost&lt;/a&gt; is an open-source blogging platform developed using the modern tech stack NodeJS. Ghost is more suitable for creating blogging and membership sites than a full-fledged website [atleast for now].&lt;/p&gt;

&lt;p&gt;Ghost platform is free to use. You can self-host Ghost on your own server, but you can't expect support from the Ghost team.&lt;/p&gt;

&lt;p&gt;You can also use Ghost's hosting, the cost of which starts from 9$ a month. [Which is great for personal bloggers]&lt;/p&gt;

&lt;p&gt;In this article, we're gonna see the steps required to run Ghost locally.&lt;/p&gt;

&lt;p&gt;[Which I found it difficult to understand when I'm creating this website]&lt;/p&gt;

&lt;h2&gt;
  
  
  Let's get started with Ghost local installation
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;Install Node latest version from &lt;a href="https://nodejs.org/en/"&gt;https://nodejs.org/en/&lt;/a&gt;.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Verify the Node and NPM package version by running the node -v code on your terminal.&lt;br&gt;
&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;C:\Users\user&amp;gt;node -v
v14.17.0
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;ul&gt;
&lt;li&gt;&lt;p&gt;Then run the code for NPM - npm -v&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;You sould see the following response.&lt;br&gt;
&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;C:\Users\user&amp;gt;npm -v
7.16.0
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;ul&gt;
&lt;li&gt;Now, install Ghost CLI by entering the following code in to terminal.
&lt;/li&gt;
&lt;/ul&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;C:\Users\user&amp;gt;npm install -g ghost-cli@latest
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;ul&gt;
&lt;li&gt;Now verify the successful installation of your Ghost CLI in your local machine and its version using ghost -v.
&lt;/li&gt;
&lt;/ul&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;C:\Users\user&amp;gt;ghost -v
Ghost-CLI version: 1.17.3
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;ul&gt;
&lt;li&gt;You've successfully installed Ghost CLI on your local machine.&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  Now, it's time to install Ghost using Ghost CLI.
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;We have to create a folder where we can install Ghost.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Type in cd Desktop on your terminal.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Create a folder named Ghost on your desktop by entering mkdir ghost&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Now you'll be in the 'Ghost' folder&lt;br&gt;
&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;C:\Users\user\Desktop&amp;gt;cd ghost
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;ul&gt;
&lt;li&gt;&lt;p&gt;Finally, install Ghost on to the folder by using the command ghost install local.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;After a successful installation, you'll see a message like this.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;You'll get something like this on your screen now.&lt;br&gt;
&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;C:\Users\user\Desktop\ghost&amp;gt;ghost install local
√ Checking system Node.js version - found v14.17.0
√ Checking current folder permissions
√ Checking memory availability
√ Checking free space
√ Checking for latest Ghost version
√ Setting up install directory
√ Downloading and installing Ghost v4.6.4
√ Finishing install process
√ Configuring Ghost
√ Setting up instance
√ Starting Ghost

Ghost uses direct mail by default. To set up an alternative email method read our docs at https://ghost.org/docs/config/#mail

------------------------------------------------------------------------------

Ghost was installed successfully! To complete setup of your publication, visit:

    http://localhost:2352/ghost/
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;ul&gt;
&lt;li&gt;&lt;p&gt;Copy and paste the URL [&lt;a href="http://localhost:2352/ghost/"&gt;http://localhost:2352/ghost/&lt;/a&gt;] into your browser.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;You will be displayed with the Ghost admin screen.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Create an account in Ghost.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;After creating your account, you'll be directed to the admin dashboard of your Ghost website.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;We have installed Ghost on the local machine and logged in to the admin dashbaord. But is it possible to customize the theme?&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Yes, you can!&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;But for that, you need to install YARN on to your theme folder.&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Go to your theme's folder on your command line.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;C:\Users\user\Desktop\ghost\content\themes\casper&amp;gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;ul&gt;
&lt;li&gt;&lt;p&gt;In this folder, enter the code yarn install.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;You'll get something like this. [Unless you played wrong!]&lt;br&gt;
&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;yarn install v1.22.10
[1/5] Validating package.json...
warning casper@4.0.5: The engine "ghost" appears to be invalid.
warning casper@4.0.5: The engine "ghost-api" appears to be invalid.
[2/5] Resolving packages...
[3/5] Fetching packages...
info fsevents@1.2.13: The platform "win32" is incompatible with this module.
info "fsevents@1.2.13" is an optional dependency and failed compatibility check. Excluding it from installation.
[4/5] Linking dependencies...
[5/5] Building fresh packages...
Done in 204.81s.
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;ul&gt;
&lt;li&gt;&lt;p&gt;To start the development server, run yarn dev on another terminal.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Now you can edit the code of your theme and see the changes by refreshing the local server.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;That's it.&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;We've installed Ghost on your local machine and set up the development server. You can now customize the theme locally and once satisfied, you can upload it to the production server.&lt;/p&gt;

&lt;p&gt;Source: &lt;a href="https://www.natheemscreative.com/install-ghost-on-local-machine/"&gt;Ghost Local Installation&lt;/a&gt; published on my personal website. &lt;/p&gt;

</description>
      <category>webdev</category>
      <category>writing</category>
      <category>devjournal</category>
    </item>
    <item>
      <title>I've created my FIRST PERSONAL WEBSITE using Ghost </title>
      <dc:creator>Mohamed Natheem</dc:creator>
      <pubDate>Thu, 10 Jun 2021 08:23:24 +0000</pubDate>
      <link>https://dev.to/mohamednatheem/i-ve-created-my-first-personal-website-using-ghost-2361</link>
      <guid>https://dev.to/mohamednatheem/i-ve-created-my-first-personal-website-using-ghost-2361</guid>
      <description>&lt;p&gt;34% of all websites on the internet are powered by WordPress. &lt;/p&gt;

&lt;p&gt;Yet, I preferred to go with Ghost 👻 for my personal website. &lt;/p&gt;

&lt;p&gt;Here's why. 😁&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;&lt;p&gt;At our company, we use WordPress to publish our articles. We're using it for a long time. And I needed a change. &lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Ghost is so clean, faster, and easy to use. &lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Built-in SEO features [Sitemap, AMP, Structured Data, etc.] &lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Perfect for bloggers &lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Minimalistic user interface &lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Easy to create and publish content &lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Integrating third-party tools like Google analytics are so easy. &lt;/p&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;But...🤔&lt;/p&gt;

&lt;p&gt;Every platform has its own pros and cons, right? &lt;/p&gt;

&lt;p&gt;In my time of using Ghost, I faced some challenges, &lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;&lt;p&gt;Theme customization is a bit tricky. [As I'm not a developer] &lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;You can't create a full-fledged website other than blogs. &lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;And a bit expensive. [But if you really wanna learn something new, just go for it]&lt;/p&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Do you have your personal website? &lt;/p&gt;

&lt;p&gt;P.S: I've posted the first &lt;a href="https://www.natheemscreative.com/install-ghost-on-local-machine/"&gt;article on my website about using and customizing the Ghost theme&lt;/a&gt;. Appreciate your feedback. &lt;/p&gt;

</description>
      <category>watercooler</category>
      <category>webdev</category>
    </item>
  </channel>
</rss>
