Giter VIP home page Giter VIP logo

Comments (1)

vpet98 avatar vpet98 commented on August 27, 2024

I finished with moving to pyramid framework and also added more logging in my code. It's uploaded in a dev_pyramid branch.

Regarding the documentation, I didn't find any tool that can generate it from the implementation without writing some openapi specs code at some point. I used https://github.com/Pylons/pyramid_openapi3 that validates the views against the yaml file when application is running and thus forcing implementation and documentation to comply with each other. The pyramid-openapi3 package also provides a way to view the ducumentation with Swagger UI and I used it so that documentation appears in the root URL of the app (it definitely works for localhost, I hope this time it works for .../statistics/1 path as well, since I cannot test it on my own).

I have removed my old ducumentation pages for now, but maybe it is a good idea to add them too, since they can offer more functionality (e.g. autocomplete function for datacenter).

Note also that I had to make some changes in the Dockerfile to support pyramid framework applications. While it works now, it is possible that I didn't modified it the best way, so I think it's better to have a look at it.

from eida-statistics.

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.