Git Product home page Git Product logo

Comments (9)

CubicrootXYZ avatar CubicrootXYZ commented on May 26, 2024 2

I implemented a swagger documentation solution in my own repo a few days ago. We really could go with swag and redoc hosted with github pages.

Maybe with a new repo for the html and yaml file so this one is not polluted to much. Implementation in pipelines is also straight forward.

from server.

kamilr avatar kamilr commented on May 26, 2024 1

Thank You @eikendev for fast response. I understand. Work in progress. Thought that just client is in beta state. Nevertheless, maybe I can help You with this?

I'm very thankful for helping hand, maybe we can discuss about it via @stonson:matrix.org ? (Using sqlite, was not created automatically)

from server.

CubicrootXYZ avatar CubicrootXYZ commented on May 26, 2024 1

For pushing the documentation to the website repo we will need an api token for that repository set here as a secret. We can use the push-a-file-to-another-repository, push-directory-to-another-repository actions or do it ourself (git clone => git commit => git push) to get the documentation there. Any preferences?

from server.

eikendev avatar eikendev commented on May 26, 2024 1

We got a new little page running at pushbits.io. @CubicrootXYZ worked out a way to neatly document the API, available here.

from server.

eikendev avatar eikendev commented on May 26, 2024

Agree. Integrating with Swagger would be a bonus. And preferably (for the API at least) auto-generate from code and comments. Would also check Gotify here for guidance.

from server.

kamilr avatar kamilr commented on May 26, 2024

@eikendev could You also please add initialization docs. I'm fighting to resolve endless issues. Need to read Your code do use it.
In example I want to try Your solution.

  1. add docker-compose
  2. add to reverse-proxy
  3. run - first failure, missing db -should by created by myself right? Then, created.
  4. errors with config, ok, config updated
  5. error with adding application - missing table users. Do I need to create that table, what columns, what types, how many other tables also, I can see that table applications is also needed?
  6. server crashing due to trying to write into read-only db etc. etc.

If some action are required on initialization please write about it.

from server.

eikendev avatar eikendev commented on May 26, 2024

Hi @kamilr, thanks for your message. I agree that this is an important issue, but I did not get to properly set this up. While adding detailed docs is great for the users, it induces quite a bit of overhead for developers: each change might require us to update the docs, too. So I won't promise to fix this in the near future, but will keep in as one of the next major steps of this project. Also, more ideas are truly welcome.

However, I would like to help you sort out your specific problems. Can you tell me a bit more about your setup? What database backend did you use? How did your compose file look like (remove sensitive info)? Are you using Podman or Docker?

When using sqlite, the database file should be created automatically with the correct permissions and all required columns.

from server.

eikendev avatar eikendev commented on May 26, 2024

I created a new repository for this: pushbits/website. Happy to start with your proposed solution. Do you want to create a pull request? Later, we might want to wrap docsy or something similar around it.

from server.

eikendev avatar eikendev commented on May 26, 2024

Let's move the discussion to #37.

from server.

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.