Skip to content

samsarone/Blog

Repository files navigation

Samsar Blog

Minimal Ghost fork for the Samsar blog deployment.

What is kept

  • ghost/core: Ghost server runtime and content
  • ghost/admin: Ghost admin source/assets
  • ghost/i18n: workspace package required by Ghost core
  • ghost/parse-email-address: workspace package required by Ghost core
  • custom Samsar integration and samsar theme under ghost/core

What was removed

  • monorepo tooling and CI metadata
  • docs, e2e, scripts, editor-specific folders, and apps that are not required for production builds
  • test suites and several dev-only config files

Local install

pnpm run install:blog
API_KEY=your_key API_HOST=https://api.samsar.one/v1 pnpm start

Production

Use:

  • API_KEY from environment
  • API_HOST=https://api.samsar.one/v1
  • Ghost URL https://samsar.one/blog/

Deploy commands:

./deploy.sh
./deploy.sh --all

./deploy.sh syncs the active theme and restarts Ghost.

./deploy.sh --all first stages and commits local changes with an automatic deploy commit message, pushes the current branch, then performs a full rebuild on the server, including:

  • workspace dependency install
  • ghost/core user-facing asset build
  • ghost/admin production build
  • required Ghost workspace app builds, including the React admin shell in apps/admin
  • full ghost/core runtime sync into the live Ghost directory while preserving live content and config

Set AUTO_COMMIT_MESSAGE to override the default commit message.

See BLOG_SETUP.md.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors