From 7286d2d460341d04ee18ed99eec15bf0174e26a7 Mon Sep 17 00:00:00 2001 From: iou1name Date: Sun, 2 Jun 2019 19:04:12 -0400 Subject: [PATCH] read me --- README.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 01920ad..ca7b261 100644 --- a/README.md +++ b/README.md @@ -6,11 +6,12 @@ Python 3.6+ #### Master Python packages: `requests bs4` #### Server -Python packages: `flask passlib argon2_cffi` +Python packages: `flask gunicorn passlib argon2_cffi` #### Slave Python packages: ` ` ## Usage +### Master `$ python3 overwrought_master.py action [options] [target]` __actions__ * `add` Add a new mod to the modpack. `target` must be a url to a curseforge mod project page. By default, it will prioritize release phases as Release, Beta and then Alpha. `--phase` can alter this. Will always grab the latest version of whichever phase it targets. @@ -18,3 +19,5 @@ __actions__ * `update` Update a specific mod in the modpack. `target` must be the url associated with the mod. By default, it will prioritize the release phase previously added. `--phase` can alter this. Will only update if the targeted mod is more recent than the one previously downloaded. * `update_all` Update every mod in the modpack. No `target` needed. Will prioritize release phases similar to `update`, however `--phase` will will not affect it. * `summary` Generate a summary page as html. Summary page displays a list of all mods in the modpack and a change log that is updated as changes are made to the modpack. +### Server +`gunicorn -b localhost:5000 -e SCRIPT_NAME=/overwrought overwrought_server:app`