GithubHelp home page GithubHelp logo

Comments (6)

amotl avatar amotl commented on August 25, 2024

Dear Papoteur,

thanks for writing in. We will try to have look into the issue. In the meanwhile, you might want to try to toggle the configuration setting

# Whether to run the instance in development mode
development_mode    = true

When setting this to true, as in the default of the development configuration, PatZilla will try to acquire templates/urlcleaner.js, right. When setting this to false, it really should go for the templates/urlcleaner.min.js.

Let's check what PatZilla will say after making this change. Maybe this will reveal that more things are missing?

With kind regards,
Andreas.

from patzilla.

papoteur-mga avatar papoteur-mga commented on August 25, 2024

Oh, yes, its really better.
Thanks
Do you need other tests?

from patzilla.

amotl avatar amotl commented on August 25, 2024

When everything works as expected now, I assume this is a good thing? Please let me know if you need further assistance. Regarding the issue...

Problem scope

It might well be that it's just a documentation / configuration blueprint glitch.

Let me explain: When running in development mode, you are usually running the code directly from the working tree of the source code repository.

On the other hand, when installing PatZilla using pip install patzilla, you are not really in development mode, as the package contains a bundled Javascript frontend already and will install into your Python's site-packages.

Proposal

I conclude the documentation should be enhanced to say that one should reach out to the production.ini then, right? There, development mode would actually be turned off by default through

development_mode    = false

and everything should be fine then. Would this have helped you already?

Conclusion

You already told us that

Then I created a patzilla.ini as development config.

So another question would be whether you actually intended to install PatZilla in development mode? Then, it would be a different story (but probably also to be solved by improving the documentation). Just let us know, thanks in advance!

from patzilla.

papoteur-mga avatar papoteur-mga commented on August 25, 2024

Hi,
It was intended that I configure a development mode. I did it because my installation is local and that meant that it will be easier to follow what is done. No other reason.
Yes, documentation can be improved by saying what development is intended for and which consequences are implied.

from patzilla.

amotl avatar amotl commented on August 25, 2024

Thanks for clarifying that. We will try to improve the documentation of

from patzilla.

amotl avatar amotl commented on August 25, 2024

@think-nice-things recently reported the same thing over at #52. Thank you!

from patzilla.

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.