mirror of
https://github.com/YunoHost/appgenerator
synced 2026-03-25 06:32:36 +01:00
No description
| .github/workflows | ||
| static | ||
| templates | ||
| translations/fr/LC_MESSAGES | ||
| .gitignore | ||
| app.py | ||
| babel.cfg | ||
| gunicorn.py | ||
| LICENSE | ||
| pdm.lock | ||
| pyproject.toml | ||
| README.md | ||
YunoHost app generator
This is a Flask app generating a draft .zip of a YunoHost application after filling a form
Official instance: https://appgenerator.yunohost.org
Developement
You can use PDM to install deps and run the app.
# Generate the virtualenv
pdm install
# Fetch the css and javascript assets (only to be run once or after a git pull)
pdm run fetch_assets
And then start the dev server (you can pass arguments that will be passed to Flask):
pdm run start
Translation
It's based on Flask-Babel : https://python-babel.github.io/flask-babel/
You can use PDM to run the commands:
pdm run update_translations
To initialize a new locale (here, fr):
pdm run translation_create fr