1
mirror of https://github.com/jakejarvis/jarv.is.git synced 2025-10-23 07:44:26 -04:00

run local server with relative URLs (for things like codespaces)

[skip ci]
This commit is contained in:
2021-02-04 10:56:51 -05:00
parent ef445a538b
commit 16caeda11c
3 changed files with 570 additions and 578 deletions

View File

@@ -18,7 +18,8 @@
"stylelint.vscode-stylelint"
],
"forwardPorts": [
1337
1337,
9337
],
"postCreateCommand": "yarn install"
}

View File

@@ -19,7 +19,7 @@
"build:hugo": "hugo --gc --cleanDestinationDir --verbose",
"build:functions": "netlify-lambda build functions",
"start": "run-p start:hugo start:functions",
"start:hugo": "hugo server --disableFastRender --buildDrafts --buildFuture --port 1337 --bind 0.0.0.0 --verbose",
"start:hugo": "hugo server --disableFastRender --buildDrafts --buildFuture --port=1337 --baseURL=/ --appendPort=false --bind=0.0.0.0 --verbose",
"start:functions": "netlify-lambda serve --port 9337 functions",
"start:docker": "docker run --rm -v $(pwd):/src -p 1337:1337 $(docker build --no-cache -q .)",
"minify": "run-s minify:**",

1143
yarn.lock

File diff suppressed because it is too large Load Diff