30 lines
736 B
Markdown
30 lines
736 B
Markdown
# SIWA - Game Site
|
|
|
|
The following repository stores SIWA game site.
|
|
|
|
Requirements:
|
|
|
|
- Hugo 0.158.0
|
|
|
|
## Environment setup
|
|
|
|
You can put any environment-specific file in the `./dev` folder as it has been added to the `.gitignore` file.
|
|
|
|
You will want to copy Hugo executable to `./dev/hugo` folder and add it to your `PATH` environment variable.
|
|
|
|
If using VS Code or similar, this can be achieved by opening your workspace settings and adding the following content:
|
|
|
|
```json
|
|
"terminal.integrated.env.<platform>": {
|
|
"PATH": "${env:PATH};${workspaceFolder}/dev/hugo"
|
|
}
|
|
}
|
|
```
|
|
|
|
where `<platform>` must be replaced by `windows`, `linux`, or `macos`.
|
|
|
|
```
|
|
cd src
|
|
hugo server --disableFastRender --ignoreCache
|
|
hgo build
|
|
```
|