Self hosted FLOSS fitness/workout, nutrition and weight tracker
Cleanup installation
Roland Geider9eef16184213
diff --git a/extras/scripts/create_ingredients_from_foodfacts.py b/extras/scripts/create_ingredients_from_foodfacts.pyindex c05ba5c8a..47dec2969 100644--- a/extras/scripts/create_ingredients_from_foodfacts.py+++ b/extras/scripts/create_ingredients_from_foodfacts.py@@ -35,7 +35,7 @@ and create all ingredients.* Requirements:-pip3 install python-Levenshtein+pip3 install pymongoapt-get install mongo-tools # (for mongorestore)* Steps:@@ -51,13 +51,16 @@ docker run -it --name wger_mongo -p 27017:27017 -d \mongorestore --username off --password off-wger -d admin -c products dump/off/products.bson# Process-python create_ingredients_from_foodfacts.py+python extras/scripts/create_ingredients_from_foodfacts.py# Cleanupdocker stop wger_mongodocker rm wger_mongorm openfoodfacts-mongodbdump.tar.gzrm -r dump++# Update ingredient fixture+python3 manage.py dumpdata nutritrion.ingredient > extras/scripts/"""