Ghost node.js open source blog system installation configuration

Refer to the original paper-http: //bjbsair.com/2020-03-22/tech-info/2827/
node.js world, the most famous is the most widely used is the Ghost. According to the official website of the latest information, Ghost global download and install more than 2,000,000 times.

Ghost is the founder of a non-profit organization founded in April 2013. The company's mission is to create the best independent reporters and writers from around the world open source tools , and online media have a real impact in the future.

Ghost node.js open source blog system installation configuration

Ghost homepage

Compared with the traditional WordPress, Ghost faster and more portable.

PK blog

Now that many of the popular blog, why choose Ghost, we look at the function PK.

Ghost node.js open source blog system installation configuration

Ghost node.js open source blog system installation configuration

From the graph we can see whether it is compared with commercial open source blog blog or closed source, Ghost has certain advantages. Especially in the following aspects.

  • safety
  • SEO, Ghost own 带 SEO
  • REST API
  • SDK
  • The front frame support, which is very important, Ghost supports multiple front-end framework include Vue, which is not available in Wordpress.

For front-end engineers, Ghost choose to do their own technology blog is a good decision.

Ghost framework

Ghost node.js open source blog system installation configuration

Ghost Architecture

From an architectural point of view, the front aspect, Ghost support of H5, but also support for mobile devices. The main database is a relational database, including SQLite, MySQL and so on. There is also support cloud storage, including Azure, and Amazon S3.

Ghost node.js open source blog system installation configuration

Framework

We can see from this chart, Ghost Ghost CLI provides a command-line tool that we will use later in the Ghost installation. Ghost of Admin Client, support multiple platforms, including Windows, Linux, Mac, etc. In the Web processing, Ghost using Express framework.

On the front-end support frame, highlighting the powerful Ghost, in addition to its own Themes, also supports multiple frameworks including VuePress and so on.

Ghost node.js open source blog system installation configuration

Front-end framework

Ghost installation

Very simple to install, requires only two steps, first install the Ghost-CLI, the second step is carried out by local installation Ghost command. The prerequisite is to be installed node.js environment.

  1. Install Ghost-CLI, command line -g represents the global installed
D:\Program Files\nodejs>npm install ghost-cli@latest -g  
D:\Program Files\nodejs\node_global\ghost -> D:\Program Files\nodejs\node_global\node_modules\ghost-cli\bin\ghost  
+ [email protected]  
added 68 packages from 31 contributors, removed 23 packages and updated 68 packages in 171.586s
  1. Local installation by Ghost
D:\Projects\ghost>ghost install local  
√ Checking system Node.js version  
√ Checking current folder permissions  
√ Checking memory availability  
√ Checking for latest Ghost version  
√ Setting up install directory  
√ Downloading and installing Ghost v3.11.0  
√ 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/concepts/config/#mail  
  
------------------------------------------------------------------------------  
  
Ghost was installed successfully! To complete setup of your publication, visit:  
  
    http://localhost:2368/ghost/

After installation, Ghost service will be started automatically by Node.js. It can be accessed via the above URL.

  1. Initial Configuration

By http: // localhost: 2368 / ghost / Ghost access the installed system, then the page will be prompted to perform the initial configuration.

Ghost node.js open source blog system installation configuration

Initial Configuration -1

In the picture above select "Create your account" created account.

Ghost node.js open source blog system installation configuration

Initial Configuration -2

Enter the name of the page and then click Sites, the user's full name, e-mail address and password, the next step.

Ghost node.js open source blog system installation configuration

Initial Configuration -3

In the current page, you do not need to enter someone else's mail, click on "I'll do this laster, take me to my site". At this point enters Ghost management page.

Here, Ghost installation configuration is over.

On the Ghost

  1. Ghost Management Interface

After installation configuration is complete, the system will enter the management interface. Below, the left is the administration menu, on the right is the home page.

Ghost node.js open source blog system installation configuration

Ghost Management Interface

  1. Ghost Local System Home

The step of the installation, Ghost local port 2368. Open the browser and go to http: // localhost: 2368 to access the home page of the local system.

Ghost node.js open source blog system installation configuration

Ghost Local Home

to sum up

Ghost introduction, installation describes the configuration on here.

Welcome friends to discuss the message.

Original articles published 0 · won praise 0 · Views 295

Guess you like

Origin blog.csdn.net/zxjoke/article/details/105085098