Le site de l'AFPy.
Go to file
2021-06-30 13:48:44 +02:00
.github/workflows Try to fix #55 2020-11-07 22:35:57 +01:00
sass Start to implemant delete image button on post 2018-10-05 16:04:33 +02:00
static Start to implemant delete image button on post 2018-10-05 16:04:33 +02:00
templates Merge pull request #74 from JulienPalard/mdk/discord 2021-06-30 13:48:44 +02:00
.flake8 Add isort flake8 and black configuration and tooling. 2019-08-26 16:06:39 +02:00
.gitignore Supprime les fichiers .DS_Store du dépôt git 2018-05-16 21:22:42 +02:00
.isort.cfg Add isort flake8 and black configuration and tooling. 2019-08-26 16:06:39 +02:00
afpy.py Fix menu hilight 2021-01-08 12:12:51 +01:00
data_xml.py Try to avoid having double images in XML and empty images on disk. 2020-02-19 10:11:32 +01:00
LICENSE Initial commit 2017-09-21 14:47:07 +02:00
Makefile Document deploy via github 2019-12-18 00:10:27 +01:00
posts.tar.bz2 Quelques posts de test. 2018-05-16 14:17:38 +02:00
README.md Indiquer comment tester. 2020-01-06 23:03:42 +01:00
setup.py Use sentry, if available. 2020-01-06 22:49:36 +01:00
tests.py f-string is missing placeholders. 2020-06-15 17:58:30 +02:00

AFPy.org

Site Web de l'AFPy.

Tester localement

Un make install suivi d'un make serve suffit pour tester localement sans article.

Si vous voulez des articles, lancez un tar xjf posts.tar.bz2 d'abord.

Si vous avez votre propre venv, un FLASK_APP=afpy.py FLASK_ENV=development flask run vous suffira.

Tester

pip install -e.[test]
make test  # ou make test VENV="$VIRTUAL_ENV" pour utiliser votre venv.

Déployer

Pour publier il suffit de git push, une action github s'occupe de la mise en prod.