mirror of
https://github.com/YunoHost/appgenerator
synced 2026-06-29 00:49:32 +02:00
No description
- Jinja 45.3%
- Python 28.8%
- HTML 22.5%
- CSS 2%
- Shell 1.2%
- Other 0.2%
| .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