Le site de l'AFPy.
Go to file
2020-01-06 23:03:42 +01:00
.github/workflows Use sentry, if available. 2020-01-06 22:49:36 +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 Mise à jour du bureau 2019 2019-11-06 16:20:52 +01: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
.travis.yml Fix travis error 2018-10-04 12:12:16 +02:00
afpy.py isort 2020-01-06 23:01:16 +01:00
data_xml.py isort 2020-01-06 23:01:16 +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 Add isort flake8 and black configuration and tooling. 2019-08-26 16:06:39 +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.