Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Documentation not updated with guniron #48

Open
Makeem49 opened this issue Jun 6, 2022 · 1 comment
Open

Documentation not updated with guniron #48

Makeem49 opened this issue Jun 6, 2022 · 1 comment
Labels
question Further information is requested

Comments

@Makeem49
Copy link

Makeem49 commented Jun 6, 2022

Hi Miguel, I am working on a project and I decided to use APIFairy for documentation. Every time i make changes to the application while running the application with gunicorn, the changes are not reflect for the APIFairy_title and version in the config file. My compose file configuration;

    build: .
    command: gunicorn --bind 0.0.0.0:5000 --access-logfile - --reload "run:app"
    ports:
      - "5000:5000"
    restart: always
    env_file:
      - .env.dev
    volumes:
      - .:/usr/src/app
    depends_on:
      - db
      - celery```
My config file;

`
# apifairy documentation
APIFAIRY_TITLE = 'User Service API'
APIFAIRY_VERSION = '1.0'
`

Whenever I run it without using gunicorn, the changes are reflected in the doc on web browser.
@miguelgrinberg
Copy link
Owner

But you are running a Docker image. How are you making changes to the application? Are you modifying the contents of your Docker image? Is Gunicorn detecting the change and reloading? If Gunicorn does not reload, then this is something you to discuss with the Gunicorn project.

@miguelgrinberg miguelgrinberg added the question Further information is requested label Jun 6, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants