https://github.com/yunohost/appgenerator
A package generator for YunoHost
https://github.com/yunohost/appgenerator
Last synced: 10 months ago
JSON representation
A package generator for YunoHost
- Host: GitHub
- URL: https://github.com/yunohost/appgenerator
- Owner: YunoHost
- License: agpl-3.0
- Created: 2024-09-16T08:54:38.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-11-24T22:42:26.000Z (about 1 year ago)
- Last Synced: 2025-01-13T01:20:36.264Z (12 months ago)
- Language: Shell
- Homepage: https://appgenerator.yunohost.org/
- Size: 17.1 MB
- Stars: 0
- Watchers: 5
- Forks: 1
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# YunoHost app generator
This is a Flask app generating a draft .zip of a YunoHost application after filling a form
Official instance:
## Developement
You can use [PDM](https://pdm-project.org) to install deps and run the app.
```bash
# 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):
```bash
pdm run start
```
## Translation
It's based on Flask-Babel :
You can use PDM to run the commands:
```bash
pdm run update_translations
```
To initialize a new locale (here, fr):
```bash
pdm run translation_create fr
```