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

Investigate bundling Flagsmith into a single executable #4999

Open
matthewelwell opened this issue Jan 14, 2025 · 0 comments
Open

Investigate bundling Flagsmith into a single executable #4999

matthewelwell opened this issue Jan 14, 2025 · 0 comments
Assignees

Comments

@matthewelwell
Copy link
Contributor

e.g. using pyinstaller

The requirements are to be able to run flagsmith as an executable in a linux environment, without having to use Docker.

In order to do this, we'll need to create a script to wrap gunicorn and run Flagsmith, then use pyinstaller to bundle the application. There's a gist here (mostly taken from here) that mostly works for actually getting the API running using gunicorn in a python script - we'd just need to extend it to take command line arguments to configure gunicorn correctly (hopefully we could make this pretty transparent).

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

2 participants