mirror of
https://github.com/YunoHost-Apps/my_flask_webapp_ynh
synced 2026-02-04 07:11:52 +01:00
No description
| .github | ||
| conf | ||
| doc | ||
| scripts | ||
| sources | ||
| .gitignore | ||
| check_process | ||
| config_panel.toml | ||
| LICENSE | ||
| manifest.json | ||
| README.md | ||
| README_fr.md | ||
My Flask Webapp for YunoHost
This package allows you to install My Flask Webapp quickly and simply on a YunoHost server. If you don't have YunoHost, please consult the guide to learn how to install it.
Overview
This package allows you to install a custom Flask app from a git repository.
It will setup for you some basic requirements for a flask app to run by reading some settings on your app yunohost configuration.
/!\ This is still a work in progress, upgrade of this app itself has not really been tested /!\
Features
- Install and run your app with Gunicorn and a custom number of workers;
- Create a database (PostgreSQL, SQLite3 or none);
- Create a data directory in /home/yunohost.app/my_flask_webapp for your database dump, uploads, etc. ;
- Basic nginx configuration file but you can overwrite it by adding one in your app repo;
- Some editable settings (workers, max upload size, admin route)
- An experimental series of actions to run
git pull,pip install,npm ci,npm run buildandflask db migrate - Expose a service in YunoHost that you can turn on and off with some basic logging;
- Create a permission for accessing the app;
- Kind of LDAP integration (env vars available);
Shipped version: 0.1~ynh1
Disclaimers / important information
Currently known limitations
- Upgrade of this app itself has not really been tested;
- Apps will have names like
my_flask_webapp__1; - For some LDAP plugins .env LDAP vars might not be well formated;
Documentation and resources
- YunoHost documentation for this app: https://yunohost.org/app_my_flask_webapp
- Report a bug: https://github.com/YunoHost-Apps/my_flask_webapp_ynh/issues
Developer info
Please send your pull request to the testing branch.
To try the testing branch, please proceed like that.
sudo yunohost app install https://github.com/YunoHost-Apps/my_flask_webapp_ynh/tree/testing --debug
or
sudo yunohost app upgrade my_flask_webapp -u https://github.com/YunoHost-Apps/my_flask_webapp_ynh/tree/testing --debug
More info regarding app packaging: https://yunohost.org/packaging_apps