GithubHelp home page GithubHelp logo

Comments (4)

lacarmen avatar lacarmen commented on June 3, 2024

When cloning into another folder there is no resources\templates\img folder available

There is definitely an img folder created when you run lein new cryogen my-blog. I'm not sure if that's what you mean by cloning though.

But the fact that an error is being thrown when "img" is specified under :resources in the config when no img folder exists is intentional.

from cryogen.

sveri avatar sveri commented on June 3, 2024

Sorry for being not exact enough. This is my workflow.

  1. Create new project with lein new cryogen foo
  2. Generate some posts
  3. Commit everything to github
  4. Clone from github and serve them
    ---- up to here everything is ok
  5. Now I clone the repo to a different location (working on a different device)
  6. Add some posts

And here the generation of the static files fail, because of the missing img folder.

Does that make sense?

from cryogen.

lacarmen avatar lacarmen commented on June 3, 2024

Yes, thanks for clarifying.

I don't plan on removing the error. It does not stop the auto-compiler, so if you were to add am img folder after seeing that error then it would continue with no problem.

Alternatively, just remove "img" from the list of resources in the config.edn file if you don't plan on putting anything into the img folder.

from cryogen.

sveri avatar sveri commented on June 3, 2024

Ok, thanks for being clear, didn't know about the config. However, good work you have done here. I really enjoy it so far :-)

from cryogen.

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.