Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Quick deploy. #175

Open
stardoom4 opened this issue Jul 17, 2024 · 1 comment
Open

Quick deploy. #175

stardoom4 opened this issue Jul 17, 2024 · 1 comment

Comments

@stardoom4
Copy link

It would be better to have a template repository or quick deploy button so that anyone can deploy without touching command line.
Thanks.

@Kariton
Copy link
Contributor

Kariton commented Jul 19, 2024

while there might be a way to make a deployment without commands it is still fairly easy:

git clone https://github.com/bowman2001/perplexdoc.git
cd perplexdoc
hugo server -D

wait few seconds (depending on CPU performance)
open http://localhost:1313

PowerShell 7.4.3
PS > git clone https://github.com/bowman2001/perplexdoc.git
Cloning into 'perplexdoc'...
remote: Enumerating objects: 67102, done.
remote: Counting objects: 100% (1565/1565), done.
remote: Compressing objects: 100% (824/824), done.
remote: Total 67102 (delta 676), reused 1495 (delta 631), pack-reused 65537
Receiving objects: 100% (67102/67102), 154.50 MiB | 21.87 MiB/s, done.
Resolving deltas: 100% (35801/35801), done.
Updating files: 100% (20731/20731), done.
PS > cd perplexdoc
PS > hugo server -D
Watching for changes in perplexdoc\{_vendor,assets,content,layouts,package.json,static}
Watching for config changes in perplexdoc\config\_default, perplexdoc\_vendor\github.com\bowman2001\perplex\hugo.yaml, perplexdoc\_vendor\github.com\bowman2001\hugo-mod-meta\hugo.yaml, perplexdoc\_vendor\github.com\bowman2001\hugo-mod-replacements\hugo.yaml, perplexdoc\_vendor\github.com\bowman2001\hugo-mod-open-in-vscode\v2\hugo.yaml, perplexdoc\_vendor\github.com\bowman2001\hugo-mod-katex\hugo.yaml, perplexdoc\_vendor\github.com\bowman2001\hugo-mod-mermaid\hugo.yaml, perplexdoc\_vendor\github.com\bowman2001\hugo-mod-simple-icons\hugo.yaml, perplexdoc\_vendor\github.com\bowman2001\hugo-mod-material-symbols\hugo.yaml, perplexdoc\_vendor\github.com\bowman2001\hugo-mod-pangram\hugo.yaml, perplexdoc\_vendor\github.com\bowman2001\hugo-mod-wrap\hugo.yaml, perplexdoc\_vendor\github.com\bowman2001\hugo-mod-image\hugo.yaml, perplexdoc\_vendor\github.com\bowman2001\hugo-mod-resource\hugo.yaml, perplexdoc\_vendor\github.com\bowman2001\hugo-mod-error-message\hugo.yaml, perplexdoc\go.mod
Start building sites …
hugo v0.128.2-de36c1a95d28595d8243fd8b891665b069ed0850+extended windows/amd64 BuildDate=2024-07-04T08:13:25Z VendorInfo=gohugoio

WARN  deprecated: .Site.IsServer was deprecated in Hugo v0.120.0 and will be removed in a future release. Use hugo.IsServer instead.
WARN  The "link" render hook was unable to resolve the destination "" in news\hugo-mod-image\index.md

                   |  EN
-------------------+-------
  Pages            |  284
  Paginator pages  |    3
  Non-page files   |  232
  Static files     |  381
  Processed images | 3897
  Aliases          |    2
  Cleaned          |    0

Built in 198765 ms
Environment: "development"
Serving pages from disk
Running in Fast Render Mode. For full rebuilds on change: hugo server --disableFastRender
Web Server is available at http://localhost:1313/ (bind address 127.0.0.1)
Press Ctrl+C to stop

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants