mirror of
https://github.com/gcushen/hugo-academic.git
synced 2025-07-26 19:15:16 +02:00
build: add script to view starters
This commit is contained in:
parent
92cd830811
commit
96826d5ea9
3 changed files with 13 additions and 0 deletions
6
scripts/view-starter-dev.sh
Executable file
6
scripts/view-starter-dev.sh
Executable file
|
@ -0,0 +1,6 @@
|
|||
#!/usr/bin/env zsh
|
||||
|
||||
HUGOxPARAMSxCMSxLOCAL_BACKEND=true \
|
||||
HUGO_MODULE_REPLACEMENTS="github.com/wowchemy/wowchemy-hugo-modules/wowchemy/v5 -> ../../../wowchemy,github.com/wowchemy/wowchemy-hugo-modules/wowchemy-cms/v5 -> ../../../wowchemy-cms" \
|
||||
hugo server -F --port 80 --bind 0.0.0.0 \
|
||||
--source "starters/$1"
|
5
scripts/view-starter.sh
Executable file
5
scripts/view-starter.sh
Executable file
|
@ -0,0 +1,5 @@
|
|||
#!/usr/bin/env zsh
|
||||
|
||||
HUGOxPARAMSxCMSxLOCAL_BACKEND=true \
|
||||
hugo server -F --port 80 --bind 0.0.0.0 \
|
||||
--source "starters/$1"
|
Loading…
Add table
Add a link
Reference in a new issue