2025/11/12

開発環境

Like

0

Bookmark

0

Forward

タロウ
タロウ

日本 北海道 札幌市

タロウ

日本 北海道 札幌市

Clone from github

Add ssh key to clone repository from github

 See Github `https://github.com/settings/keys` and `https://docs.github.com/ja/authentication/connecting-to-github-with-ssh`

Clone repository

Include following repository, suppose you have work directory: ~/work/legacy.

such as: git@github.com:aidabo/jibunsee-react.git

  • Ghost
    Customized Ghost with SNS etc. Api. using branch ghost-5.116.2-next

    git clone git@github.com:aidabo/Ghost.git -b ghost-5.116.2-next

  • Jibunsee-react
    Front end of think-AI site, this is a PRIVATE repository, you must be invited to access it.

    git clone git@github.com:aidabo/jibunsee-react.git

  • Ghost-compose
    Ghost docker image deploy project.

    git clone git@github.com:aidabo/Ghost-Compose.git

  • Koenig
    Koenig lexical editor with customized.

    git clone git@github.com:aidabo/Koenig.git

  • Ghost-SDK
    Ghost api SDK and some custom settings.

    git clone git@github.com:aidabo/Ghost-SDK.git

  • stackpage
    Template and page creating project.

    git clone git@github.com:aidabo/stackpage.git

Then change project name as following:

  1. 00-Ghost-5.116.2
  2. 01-Jibunsee-React
  3. 03-Ghost-Compose
  4. 04-Koenig
  5. 05-Ghost-SDK
  6. 10-stackpage

nvm install

  • Install nvm

curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.3/install.sh | bash

  • Install node.js version v20.19.0 as default

nvm install v20.19.0

  • Build 00-Ghost-5.116.2
cd 00-Ghost-5.116.2
yarn
yarn build
  • Build 03-Koenig
cd 03-Koenig
yarn 
yarn setup
  • Build 10-stackpage
cd 10-stackpage
yarn 
yarn build
  • Change package/stackpage in 01-Jibunsee-React
cd /home/work/legacy/01-Jibunsee-React/package
rm -rf stack-page
ln -s ../../10-stackpage stack-page
  • About reference local package project

Install yalc and publish koenig-lexical

cd  03-Koenig
npm install -g yalc
cd koenig-lexical
yalc publish 
cd 01-Jibunsee-React
yalc add @tryghost/koenig-lexical
yarn
yarn build
  • Export environment and S3 adapter install
source env-dev.sh
cd ~/work/legacy/00-Ghost-5.116.2/ghost/core
mv content content.bak
ln -s ../../../02-ghost-compose/ghost/content 
cd content/adapter/s3
npm install
npm build

Like

0

Bookmark

0

Forward