Changes between Version 7 and Version 8 of BittenRecipesExtractorScript
- Timestamp:
- Dec 5, 2011, 3:13:20 PM (12 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
BittenRecipesExtractorScript
v7 v8 43 43 44 44 === Reading and Writing Recipes === 45 Create a directory for which the recipes will be saved at. Each Bitten Rule will be a separate <recipe_name>.recipe file. The two python scripts must be copied to this newly created directory.[[BR]]45 Each Bitten Rule will be a separate <recipe_name>.recipe file.[[BR]] 46 46 Each python script uses the same single argument. The only argument that is needed, is the path to your Trac environment. Which is exactly what is necessary when ever you run: 47 47 {{{ … … 51 51 {{{ 52 52 sudo python recipe_get.py /some/trac/environment 53 }}} 54 and: 55 {{{ 53 56 sudo python recipe_put.py /some/trac/environment 54 57 }}} 55 Whilst in the same directory as your saved recipes. You can leave these files there and continue to run both scripts for eternity. No need to clean them up. And quite frankly, leaving them alone for backup reasons, is a darn good idea. 58 Accordingly.[[BR]][[BR]] 59 When you perform a recipe_get.py, a directory will be created with a name equal to your Trac directory with '_recipes' appended to it (trac-directory-name_recipes). The recipes will be saved (or updated for recipes currently residing) in this directory. 60 You can leave these files there and continue to run both scripts for eternity. No need to clean them up. And quite frankly, leaving them alone for backup reasons, is a darn good idea. 56 61 57 62 === Editing the Recipe Files ===