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

Document new gramps-web-api server flags #28

Merged
merged 1 commit into from
Nov 29, 2024

Conversation

dsblank
Copy link
Member

@dsblank dsblank commented Nov 27, 2024

This PR adds docs for new server flags:


To send the log data to a file, use --log-file FILENAME. The default is not to log to a file.

To set the log level (for console or file) use --debug-level LEVEL where LEVEL is info, debug, warning, or critical. The default is info.

If running the gramps-web-api server locally, the following additional flags may be useful:

  • --use-wsgi - adds a WSGI wrapper to the application.
  • --host IP - the IP address to use for the WSGI listener. The default IP is 127.0.0.1.
  • --max-workers NUMBER - for the WSGI server. Default is set dynamically based on the number of CPUs.
  • --open-browser WHERE - to open the browser on the default gramps-web-api page in a tab or a window. The default of WHERE is no, meaning to not open a browser tab or window.

@dsblank

This comment was marked as duplicate.

@DavidMStraub DavidMStraub merged commit 7fa78c2 into gramps-project:main Nov 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants