タグ: ghost

  • Ghost メモ書き

    Ghost メモ書き

    Ghost をmacOSにインストール。

    How to install Ghost locally

    Supported Node versions を確認。

    14.x (Node v14 Fermium LTS)Recommended
    2021.06.25時点

    手元の Node.js が少し古かったようでインストールが進まず。

    nodenv install 14.17.1
    nodenv rehash
    nodenv global 14.17.1
    npm install ghost-cli@latest -g

    ghost-cli がインストールできたので作業用の空のフォルダに移動して

     ghost install local

    ダッシュボードはこのような感じです。

    Ghost dashboard

    サーバーのIPアドレス、ポート番号の設定を確認。config.development.json

    ...
      "server": {
        "port": 2368,
        "host": "127.0.0.1"
      },
    ...

    Ghost ls – Chost CLI

    ローカルに作成したサイトは

    ~/.ghost/config

    このファイルで管理されている様子。