v2rayA 作为服务端进行公网传输
Requirements
Doks uses npm to centralize dependency management, making it easy to update resources, build tooling, plugins, and build scripts:
- Download and install Node.js (it includes npm) for your platform.
Start a new Doks project
Create a new site, change directories, install dependencies, and start development server.
Create a new site
Doks is available as a child theme, and a starter theme:
- Use the Doks child theme, if you do not plan to customize a lot, and/or need future Doks updates.
- Use the Doks starter theme, if you plan to customize a lot, and/or do not need future Doks updates.
Not quite sure? Use the Doks child theme.
Doks child theme
1 | git clone https://github.com/v2rayA/v2raya.github.io-child-theme.git my-doks-site |
Doks starter theme
1 | git clone https://github.com/v2rayA/v2raya.github.io.git my-doks-site |
Change directories
1 | cd my-doks-site |
Install dependencies
1 | npm install |
Start development server
1 | npm run start |
Doks will start the Hugo development webserver accessible by default at http://localhost:1313
. Saved changes will live reload in the browser.
Other commands
本博客所有文章除特别声明外,均采用 CC BY-NC-SA 4.0 许可协议。转载请注明来自 昌南魔法学院!