Git Product home page Git Product logo

Comments (5)

hacdias avatar hacdias commented on May 4, 2024

Hello!

That "error" is normal. That's why you have to execute go generate then. It can be skipped, or is it preventing you to continue?

Explanation

That error happens because there's no .go file in assets when you clone the repository. When you execute go generate the following commands are executed:

go get github.com/jteeuwen/go-bindata
go install github.com/jteeuwen/go-bindata/go-bindata
go-bindata -pkg assets -o assets/assets.go templates/ assets/css/ assets/js/ assets/fonts/

The last one will build an assets.go file in assets. After that, you should not receive that error anymore.

A question

Why are you using "FROM abiosoft/caddy" if "mholt/caddy" is the actual repository and "abiosoft/caddy" is just a fork?

from filebrowser.

ludovicc avatar ludovicc commented on May 4, 2024

I can deal with that, it's less scary than it looks. I will publish the
Docker file later.

Thanks
Le 22 févr. 2016 20:05, "Henrique Dias" [email protected] a écrit :

Hello!

That "error" is normal. That's why you have to execute go generate then.
It can be skipped, or is it preventing you to continue?


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

from filebrowser.

hacdias avatar hacdias commented on May 4, 2024

Thank you too! I'll close this issue for now. When you publish the Docker file, let we know! :)

Have a nice day!

from filebrowser.

faddat avatar faddat commented on May 4, 2024

That explains it!

And about the Docker-- @abiosoft has been doing incredible things with caddy and docker, so I imagine that is the reason....

from filebrowser.

ludovicc avatar ludovicc commented on May 4, 2024

I have published my Dockerfile here: https://github.com/ludovicc/caddy-hugo. It should appear also in hub.docker.com as ludovicc/caddy-hugo.

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.