Shawn's blog Shawn's blog
About Me
  • Category
  • Tag
  • Archive
GitHub (opens new window)

Shawn Jin

I am not a creator of knowledge, I am just a porter of knowledge.
About Me
  • Category
  • Tag
  • Archive
GitHub (opens new window)
  • Set up and configure Vuepress on Windows 10

    • 0x01 : Install nodejs and Vuepress
      • 0x10 configure bash and github
      Shawn Jin
      2019-12-31
      notes

      Set up and configure Vuepress on Windows 10

      # Set up and configure Vuepress on Windows 10

      To set up Vuepress as your blog, it is very easy on MacOS. You can just follow the official guide (opens new window).

      However, the guide doesn't cover environment setting up well on Windows 10. After several days studying, I find a way to successfully setup.

      # 0x01 : Install nodejs and Vuepress

      I suggest to use winget (opens new window) to install nodejs. Open PowerShell and type winget install nodejs. The winget tool might ask you more specific like which version do you want and give you a list. You could use winget install [software ID] to choose specific version that you want.

      After you done installation of nodejs, you now can follow the official guide (opens new window).

      # 0x10 configure bash and github

      To use bash on Windows, you need to install subsystem for linux (opens new window). After this, you need to config git on the subsystem. Right now, you are good to go.

      ::: notes

      The reason of that you need to configure subsystem is the script would run a bash script. When Windows is trying to run bash script, it would call the bash shell of subsystem. Thus, the script is going to use git from you subsystem not Windows even you running deploy command on PowerShell.

      :::

      #Vuepress
      Updated: 2021/09/09, 11:40:27
      最近更新
      01
      Python import files from different directories
      12-31
      02
      Classmethod in Python
      09-15
      03
      Single/Double Star (/*) Parameters in Python
      09-15
      更多文章>
      Theme by Vdoing | Copyright © 2019-2021 Shawn Jin | MIT License
      • 跟随系统
      • 浅色模式
      • 深色模式
      • 阅读模式