Code Monkey home page Code Monkey logo

Comments (20)

faddat avatar faddat commented on May 9, 2024

Sure thing. I'll try and have one up by wednesday. Here's what I consider the most important things:

  1. Get caddy with hugo extension from caddy's web site. Move the "caddy" binary to /usr/bion
tar xvf caddy.tar.gz
mv caddy /usr/bin
  1. Make a Caddyfile in the folder you want to serve content from and edit content with caddy-hugo. This was tough for me. Here's mine:
cat Caddyfile
sharebitstalk.io www.sharebitstalk.io technologistguild.com www.technologistguild.com {
gzip                                                            # tells caddy to compress traffic
proxy /         192.168.191.206:80                              # / tells caddy that it should proxy to the folder / and 192.168.191.206:80 Tells Caddy what URL to proxy at /
tls             [email protected]                           # Tells let's encrypt your e-mail address
}

chat.sharebitstalk.io {
gzip
proxy /         192.168.191.206:8065
tls             [email protected]
}

klouds.org www.klouds.org {
gzip
tls             [email protected]
root            /root/hugo-semantic-homepage-starter/dist       # Tells CADDY which folder to serve as the root
basicauth       /admin faddat *******                         # protect the admin area using HTTP basic auth
hugo            /root/hugo-semantic-homepage-starter            # Tells HUGO which folder to execute in
}
  1. Save your Caddyfile and run caddy with the command, executed in the same folder as the Caddyfile.
caddy

from filebrowser.

hacdias avatar hacdias commented on May 9, 2024

Hello @bzerangue! Like to hear that someone is using (or trying to use) caddy-hugo! Hope you enjoy and hope @faddat can help! Thanks for helping @faddat :)

from filebrowser.

faddat avatar faddat commented on May 9, 2024

Sure thing! Thinks for the awesome tool, @hacdias!

from filebrowser.

hacdias avatar hacdias commented on May 9, 2024

You're welcome :D

from filebrowser.

ludovicc avatar ludovicc commented on May 9, 2024

With Docker, it's easy. Go to the folder containing the Hugo project, then

docker run -d -v $(pwd):/srv -p 2015:2015 ludovicc/caddy-hugo

from filebrowser.

faddat avatar faddat commented on May 9, 2024

Screencast coming some time this hour :).

from filebrowser.

bzerangue avatar bzerangue commented on May 9, 2024

Awesome!

On Wed, Feb 24, 2016 at 8:02 PM, Jacob Gadikian [email protected]
wrote:
Screencast coming some time this hour :).


Reply to this email directly or view it on GitHub
[https://github.com//issues/50#issuecomment-188560293] .[https://github.com/notifications/beacon/AABqG8-OdBfjgAO2CsPvrwebhPwKF2Jcks5pnlg7gaJpZM4HfPgT.gif]

from filebrowser.

faddat avatar faddat commented on May 9, 2024

@Ozzadar has been making awesome videos on windows lately-- anyone know a great video editor for Linux? Goal: "out-class Corel Video"

from filebrowser.

faddat avatar faddat commented on May 9, 2024

Maybe one hour from now.... work.....
On Feb 25, 2016 9:03 AM, "Brian Zerangue" [email protected] wrote:

Awesome!

On Wed, Feb 24, 2016 at 8:02 PM, Jacob Gadikian [email protected]
wrote:
Screencast coming some time this hour :).


Reply to this email directly or view it on GitHub
[https://github.com//issues/50#issuecomment-188560293]
.[
https://github.com/notifications/beacon/AABqG8-OdBfjgAO2CsPvrwebhPwKF2Jcks5pnlg7gaJpZM4HfPgT.gif]


Reply to this email directly or view it on GitHub
#50 (comment).

from filebrowser.

faddat avatar faddat commented on May 9, 2024

Does anyone have a good guide for doing screencasts? I've made this one twice now but it takes an hour to show what shouldn't be longer than 15 minutes....

from filebrowser.

hacdias avatar hacdias commented on May 9, 2024

I've never done that so I can't help you with that :(

from filebrowser.

hacdias avatar hacdias commented on May 9, 2024

I'll close this issue right now because of the lack of the activity on it. If you want to reopen it, just tell me. 👍

from filebrowser.

liz-miller avatar liz-miller commented on May 9, 2024

I know this is 8 mos old, but I'd like to see this screencast. I've been reading through the issues and documentations, etc and I am still having some trouble getting caddy + hugo hosted on github to work properly :(

from filebrowser.

hacdias avatar hacdias commented on May 9, 2024

Hello @liz-miller, if you really need it, I could do it in the weekend probably, but tell me: what have you already done and where is it failing? 🙂

from filebrowser.

liz-miller avatar liz-miller commented on May 9, 2024

from filebrowser.

hacdias avatar hacdias commented on May 9, 2024

To use caddy-hugo you'll need to have it set up on your own server but it seems you're using Github Pages. Anyway, if you can send me the Caddyfile I can check if it has got any error related to hugo 😄

from filebrowser.

liz-miller avatar liz-miller commented on May 9, 2024

from filebrowser.

hacdias avatar hacdias commented on May 9, 2024

You can host a Hugo website using Github Pages but you can't use Caddy + this plugin with github pages.

from filebrowser.

liz-miller avatar liz-miller commented on May 9, 2024

will Caddy + Caddy-Hugo work with hosting on AWS?

from filebrowser.

hacdias avatar hacdias commented on May 9, 2024

I'm not sure how does AWS work (never used it). But if it's like a VPS it will work for sure.

from filebrowser.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.