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

Intro

Blog module is based on based d-koppenhagen's Repo.
I am using it here for testing with nx monorepo and reporting issues.

Setup

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

Build

1
# build angular
2
ng build
3
# build scully blog
4
# options --showBrowser, --project
5
yarn run scully --project webapp
6
7
# kill if 'zombie' server
8
yarn scully killServer
Copied!

Run

1
# serve static content
2
yarn run lite-server
3
# Or do build & run with one command:
4
yarn run scully:all
Copied!
Last modified 9mo ago
Copy link