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

Windows support - Solution inside #5193

Open
tomerplus500 opened this issue Mar 6, 2025 · 0 comments
Open

Windows support - Solution inside #5193

tomerplus500 opened this issue Mar 6, 2025 · 0 comments

Comments

@tomerplus500
Copy link

tomerplus500 commented Mar 6, 2025

Is your feature request related to a problem? Please describe.

I read in the CONTRIBUTING.md that Windows development is not currently supported. On top of that, Hosting in Windows is not supported either.

With ridicules minor change to the API code base I managed to Develop and Host the API service on Windows.

NOTE: Frontend works like a charm

Describe the solution you'd like.

Here are the required changes.

  1. Add waitress WSGI
    poetry add waitress

  2. Remove gunicorn specifics from the flagsmith/api/util/logging.py (or add condition to include it or not if running on Linux or Windows).

  3. Update Makefile to include additional action to run with waitress

serve-win:
    poetry run waitress-serve --host 0.0.0.0 --port 8000 app.wsgi:application

This is it guys - now we can develop and host API in Windows.

Describe alternatives you've considered

None

Additional context

No response

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

No branches or pull requests

1 participant