Ghost Open Source blog platform based on node. js

Source: Internet
Author: User
Tags install node

Ghost is an open source blog platform (open source blogging platform) built on node. JS, with an easy-to-use writing interface and experience.

1. Install node

Install npm:http://blog.csdn.net/yczz/article/details/6938260 under Windows

First step: Download the Windows version of node. js
Currently the latest version is Http://nodejs.org/dist/v0.5.10/node.exe

Step Two: Set environment variables
Add the directory where the Node.exe is located to the PATH environment variable.
After the configuration is successful, you can see the version number of node. js in cmd via node--version
C:\users\fn>node--version
v0.5.10

Step three: Install Git
Download the git Windows installation article directly to the following address (Http://code.google.com/p/msysgit/downloads/list), The latest version is Git-1.7.7-preview20111014.exe, follow the prompts step by step installation can be. Add git Install bin directory to PATH environment variable after installation is complete

CMD running git--version confirm the installation is successful

C:\users\fn>git--version
git version 1.7.7.msysgit.1
Fourth Step: Install NPM
After making sure that both Node.exe and git are in the PATH environment variable, execute the following command:

git config--system http.sslcainfo/bin/curl-ca-bundle.crt

git clone--recursive git://github.com/isaacs/npm.git

CD NPM

Node Cli.js install NPM-GF
Here's a test of success, everything OK start the node. JS Tour
D:\DEVELOP\NODEJS\HELLO>NPM install-d
NPM Info It worked if it ends with OK
NPM info using [email protected]
NPM info using [email protected]
NPM Info Preinstall [email protected]
NPM info addnamed [' Jade ', ' >= 0.0.1 ']
NPM info addnamed [' Express ', ' 2.5.0 ']

It's better to set up a domestic image, or the download will be slow
GitHub NPM hits the wall with a solution.

GitHub
Proxy server is a must, I use the local Astrill
Set up a proxy for curl
Export http_proxy= "127.0.0.1:3213"
Export https_proxy= "127.0.0.1:3213"
Okay, OK.

Npm:
Set the domestic Image NPM Config set Registry http://registry.npmjs.vitecho.com

2. Install Ghost

Reference address: Installing Ghost on Windows

Install and Run Ghost
    • In your Start menu, find ' node. js ' and then choose ' node. js Command Prompt '
    • In the Node command prompt, you need to change directory to where you extracted Ghost. Type: cd Downloads/ghost-#.#.# (replace hashes with the version of Ghost downloaded).
    • Next, in the command prompt type npm install --production Note the dashes
    • When NPM was finished installing, type to npm start start Ghost in development mode
    • In a browser, navigate to 127.0.0.1:2368 to see your newly setup Ghost blog
    • Change the URL to 127.0.0.1:2368/ghost and create your Admin user to login to the Ghost Admin.

I test blog: https://halfwater.ghost.io/

Ghost Open Source blog platform based on node. js

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.