No description
Find a file
2026-02-18 22:00:00 +01:00
.github/workflows Add black and shellcheck workflows 2024-10-24 16:37:59 +02:00
static Add gitignore for static files 2024-11-23 12:13:31 +01:00
templates Fix URL to yunohost documentation 2026-02-18 22:00:00 +01:00
translations/fr/LC_MESSAGES Remove compiled file from git repo 2024-11-23 12:14:20 +01:00
.gitignore Use pyproject.toml + optional PDM 2024-11-23 15:20:30 +01:00
app.py Merge pull request #13 from ericgaspar/main 2025-12-21 16:11:35 +01:00
babel.cfg v0.9.1 - add translations (babel) 2024-04-02 23:12:54 +02:00
gunicorn.py Yologen improvements for deployment (#2253) 2024-04-23 20:04:26 +02:00
LICENSE Add AGPL-3.0 LICENSE file 2024-11-23 11:48:17 +01:00
pdm.lock Update dependencies 2024-11-24 22:42:09 +01:00
pyproject.toml Allow dependencies to be installed via pip 2024-11-24 23:42:23 +01:00
README.md Use pyproject.toml + optional PDM 2024-11-23 15:20:30 +01:00

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