Developer install & setup with Ghost, step by step

# Install Pre-requisites: node.js yarn grunt
install node.js lts version
wget https://nodejs.org/dist/v8.9.0/node-v8.9.0-linux-x64.tar.xz
tar -xvf node-v8.9.0-linux-x64.tar.xz
vim ~/.bashrc
export PATH="$HOME/node-v8.9.0-linux-x64/bin:$PATH"
source ~/.bashrc
check node version
node -v
v8.9.0

install yarn
curl -o- -L https://yarnpkg.com/install.sh | bash

install grunt
npm install -g grunt-cli

# Initial Setup
git clone https://github.com/TryGhost/Ghost.git  && cd Ghost
yarn run init

Could not start watchman
Visit https://ember-cli.com/user-guide/#watchman for more info.
$ git clone https://github.com/facebook/watchman.git
$ cd watchman
$ git checkout v4.9.0  # the latest stable release
$ ./autogen.sh
$ ./configure
$ make
$ sudo make install

knex-migrator init

# Develop Ghost
grunt dev
grunt dev --server
grunt prod
.....

# Refers
https://docs.ghost.org/v1/docs/working-with-ghost

No comments:

Post a Comment

fixed: embedded-redis: Unable to run on macOS Sonoma

Issue you might see below error while trying to run embedded-redis for your testing on your macOS after you upgrade to Sonoma. java.la...