1
0
Fork 0
mirror of https://github.com/YunoHost/apps.git synced 2024-09-03 20:06:07 +02:00
apps/store
2023-09-03 12:11:56 +02:00
..
.stars appstore: small refactoring, proper cache/refresh mechanism for catalog and wishlist 2023-09-03 12:11:56 +02:00
assets appstore: Add gunicorn, systemd, nginx conf snippets for deployment 2023-08-23 15:41:51 +02:00
templates appstore: implement star logic, at least on catalog 2023-09-02 19:46:51 +02:00
.gitignore appstore: implement star logic, at least on catalog 2023-09-02 19:46:51 +02:00
__init__.py appstore: small refactoring, proper cache/refresh mechanism for catalog and wishlist 2023-09-03 12:11:56 +02:00
app.py appstore: small refactoring, proper cache/refresh mechanism for catalog and wishlist 2023-09-03 12:11:56 +02:00
config.toml.example appstore: small refactoring, proper cache/refresh mechanism for catalog and wishlist 2023-09-03 12:11:56 +02:00
gunicorn.py appstore: Add gunicorn, systemd, nginx conf snippets for deployment 2023-08-23 15:41:51 +02:00
nginx.conf.example appstore: Add gunicorn, systemd, nginx conf snippets for deployment 2023-08-23 15:41:51 +02:00
README.md appstore: add README with dev instructions 2023-08-23 19:04:41 +02:00
requirements.txt appstore: display unusual ram requirement, arch limitation, pre-install notes, emojis 2023-09-01 21:57:21 +02:00
systemd.conf.example appstore: Add gunicorn, systemd, nginx conf snippets for deployment 2023-08-23 15:41:51 +02:00
utils.py appstore: small refactoring, proper cache/refresh mechanism for catalog and wishlist 2023-09-03 12:11:56 +02:00

YunoHost app store

This is a Flask app interfacing with YunoHost's app catalog for a cool browsing of YunoHost's apps catalog, wishlist and being able to vote/star for apps

Developement

python3 -m venv venv
source venv/bin/activate
pip3 install -r requirements.txt
cp config.toml.example config.toml

# Tweak config.toml with appropriate values... (not everyting is needed for the base features to work)
nano config.toml

# You'll need to have a built version of the catalog
mkdir -p ../builds/default/v3/
curl https://app.yunohost.org/default/v3/apps.json > ../builds/default/v3/apps.json

# You will also want to run list_builder.py to initialize the .apps_cache (at least for a few apps, you can Ctrl+C after a while)
pushd ..
    python3 list_builder.py
popd

And then start the dev server:

source venv/bin/activate
FLASK_APP=app.py FLASK_ENV=development flask run