From 112f16f03b1557eac45b06b9b0bd7e3e9c9579f4 Mon Sep 17 00:00:00 2001 From: Christophe Guyeux Date: Mon, 10 Feb 2020 08:42:17 +0100 Subject: [PATCH] On ignore les fichiers projets de Wing Pro --- .gitignore | 3 +++ README.md | 28 ++++++++++++++++++++++++++++ 2 files changed, 31 insertions(+) diff --git a/.gitignore b/.gitignore index 1e0f3bb..82e566c 100644 --- a/.gitignore +++ b/.gitignore @@ -1,6 +1,9 @@ # Byte-compiled / optimized / DLL files __pycache__/ +*wpr +*wpu + **.py[cod] **$py.class data/ diff --git a/README.md b/README.md index e69de29..b4cbde9 100644 --- a/README.md +++ b/README.md @@ -0,0 +1,28 @@ +Creer un environnement : +pip install virtualenv +virtualenv predictops + +activer l'environnement : +source ~/.venvs/predictops/bin/activate + +installer un package : +pip install celery +pip freeze > requirements.txt + +Lancer +celery -A test_celery worker --loglevel=info +puis +python -m test_celery.run_tasks + + +Pour nettoyer la bdd : +engine = ExtomeEngine(clean = False) -> dans le main +-> Remplir le répertoire data à partir d'archive +dans pgModeler : Faire export + + +$ psql extome +\dt -> describe table +select * from "PARAMETER"; + + -- 2.39.5