Skip to content
/ blog-example Public template

[template] Microsoft CSS Japan example blog repository

Notifications You must be signed in to change notification settings

cssjpn/blog-example

Repository files navigation

Blog Example

[template] Microsoft CSS Japan example blog repository.

Getting Started

Getting Started

Init / Update blog theme

https://github.com/jpazureid/hexo-theme-jpazure

git submodule update -i

Start / Stop Hexo server (local-preview)

docker-compose up

# Ctrl+C
docker-compose down

Writing the blog in devcontainer

If you want to write a blog in devcontainer, install Visual Studio Code and Dev Container Extension.

After that, open the repository with Visual Studio Code and select Reopen in Container from the command palette.

Reopen in Container

In Dev Container, you can start the Hexo server just push F5 key. (or select Run and Debug from the command palette)

You can also use Dev Container experience in GitHub Codespaces. After deploying, go to your own blog repository (https://github.com/<yourorg>/blog) and select Code -> Codespaces -> Create codespace on main from the menu.

Create codespace on main

Directory structure

example
├── .devcontainer
│   ├── devcontainer.json # Dev Container configuration include recommended extensions
│   └── docker-compose.yml
├── .github
│   └── workflows      # Workflows for GitHub Actions
│       └── upload-gh-pages.yml
├── .gitignore
├── .textlintrc
├── postCreateCommand.sh # script invoked when devcontainer is created
├── README.md
├── _config.yml        # Site configration
├── articles           # Blog articles
│   └── information
│       └── test.md    # Example post
├── docker-compose.yaml    # Configuration for containers (local-preview)
├── docs               # Documents
├── github-issue-template.md
├── scaffolds
├── source
└── themes             # Blog themes
    └── jpazure (git submodule)

About

[template] Microsoft CSS Japan example blog repository

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages