Giter Club home page Giter Club logo

blog-example's Introduction

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)

blog-example's People

Contributors

yukirii avatar watahani avatar georgioush avatar

Watchers

James Cloos avatar  avatar Jun Takata avatar

blog-example's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.