[template] Microsoft CSS Japan example blog repository.
https://github.com/jpazureid/hexo-theme-jpazure
git submodule update -i
docker-compose up
# Ctrl+C
docker-compose down
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.
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.
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)