From cca902b1f25196c9054b2dfabee8ab18b0df5c97 Mon Sep 17 00:00:00 2001
From: Remy Moll <me@moll.re>
Date: Mon, 26 Sep 2022 15:32:05 +0200
Subject: [PATCH] updates to documentation

---
 README.md | 18 +++++++++++-------
 launch    |  2 +-
 2 files changed, 12 insertions(+), 8 deletions(-)

diff --git a/README.md b/README.md
index c33120f..a0cb871 100644
--- a/README.md
+++ b/README.md
@@ -77,18 +77,22 @@ docker compose --env-file env/production down
 ```
 
 ### First run:
-> The program relies on a functioning chrome profile!
+> The program relies on a functioning firefox profile!
 
 For the first run ever, run 
 
-`./launch init`
+`./launch edit_profile`
 
-This will generate a new chrome profile under `coss_archiving/dependencies/news_fetch.profile`.
-You can then go to [http://localhost:7900](http://localhost:7900) in your browser. Verify the profile (under chrome://profile-internals).
+This will generate a new firefox profile under `coss_archiving/dependencies/news_fetch.profile`.
+You can then go to [http://localhost:7900](http://localhost:7900) in your browser. Check the profile (under firefox://profile-internals).
 
-Now install two addons: Idontcareaboutcookies (from chrome://extensions) and Bypass Paywalls (from https://github.com/iamadamdev/bypass-paywalls-chrome). The script already downloaded the file, so just enable developer mode, click load from unpacked, go to `/user_data/dependencies/news_fetch.profile`, select the directory `bypass-paywalls-chrome-master`.
+Now install two addons: Idontcareaboutcookies and bypass paywalls clean (from firefox://extensions). They ensure that most sites just work out of the box. You can additionally install adblockers such as ublock origin.
 
-Whenever you need to make changes to the profile, for instance re-log in to websites, just rerun `./launch init`.
+You can then use this profile to further tweak various sites. The state of the sites (namely their cookies) will be used by `news_fetch`.
+
+> Whenever you need to make changes to the profile, for instance re-log in to websites, just rerun `./launch edit_profile`.
+
+Exit the mode by closing the firefox window. You can then run `./launch down` and then proceed normally.
 
 
 ## Building
@@ -101,7 +105,7 @@ In docker compose, run
 
 Or simpler, just run
 
-`./launch build`
+`./launch build` (should issues occur you can also run `./launch build --no-cache`)
 
 
 
diff --git a/launch b/launch
index 1a1797d..b117a19 100644
--- a/launch
+++ b/launch
@@ -55,7 +55,7 @@ then
 
 ### Fallback ####
 else
-    echo "Please specify the execution mode (debug/production/build) as the first argument"
+    echo "Please specify the execution mode (debug/production/build/edit_profile/down) as the first argument"
     exit 1
 fi