YETI
GithubDemo
1.0.0
1.0.0
  • YETI
  • Features
  • Getting Started
    • Why
    • Installation
    • Project Layout
    • NX commands
    • Playbook
    • NestJS Playbook
    • Scaffolding
  • Concepts
    • Introduction
    • Monorepo
    • DDD
    • Clean Architecture
  • Advanced
    • Content Management
    • Protobuf Tools
    • Protoc
    • Envoy
    • Style Guild
    • Angular Universal
    • Firebase
  • Modules
    • Apps
      • WebApp
      • Api
    • Libs
      • Admin
      • Blog
      • Core
      • Dashboard
      • Gen
      • Home
      • Not Found
      • Shared
  • GitOps
    • Build
    • Code Quality
    • API Docs
    • Release
    • CICD
  • DevOps
    • Database
    • Kubernetes
    • Deploy
  • Recipes
    • Authentication
    • Caching
    • Component Events from NGXS
    • Debouncing Actions
    • Dynamic Plugins
    • Immutability Helpers
    • Style Guide
    • Unit Testing
  • Community
    • Resources
    • Contributors
    • Contributing
  • FAQ
    • Yeti
    • Angular
    • GitBook
    • Awesome Links
  • Change Log
Powered by GitBook
On this page
  • Intro
  • Setup
  • Build
  • Run

Was this helpful?

  1. Advanced

Content Management

PreviousAdvancedNextProtobuf Tools

Last updated 4 years ago

Was this helpful?

We are using Static Site Generator tool to pre-render blog content.

Intro

Blog module is based on based Repo.

I am using it here for testing with nx monorepo and reporting issues.

Setup

# First time blog CMS setup
ng g @scullyio/init:markdown --name="blog" --slug=id --source-dir="libs/blog/posts" --route="home/blog"  -d
# create blog post from template
ng g @scullyio/init:post --name="This is my post" --target=libs/blog/posts --meta-data-file="libs/blog/blog-post-template.yaml" -d

Build

# build angular
ng build
# build scully blog
# options  --showBrowser, --project
yarn run scully --project webapp

# kill if 'zombie' server
yarn scully killServer

Run

# serve static content
yarn run lite-server
# Or do build & run with one command:
yarn run scully:all
ScullyIO
d-koppenhagen's