bowman2001 / perplex

A Hugo theme to publish technical content (docs, news, blog, articles)
https://perplex.desider.at
Apache License 2.0
30 stars 13 forks source link

Quick deploy. #175

Open stardoom4 opened 4 months ago

stardoom4 commented 4 months ago

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

Kariton commented 4 months ago

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