From 8839877e8b0760aba9929d22c83b1356fdbd460f Mon Sep 17 00:00:00 2001 From: Nick Sweeting Date: Fri, 23 Apr 2021 18:18:24 -0400 Subject: [PATCH] simpler server instructions --- README.md | 34 +++++++++++----------------------- 1 file changed, 11 insertions(+), 23 deletions(-) diff --git a/README.md b/README.md index a830197d..3fa90b5e 100644 --- a/README.md +++ b/README.md @@ -127,13 +127,11 @@ Download the http://127.0.0.1:8000.

 docker-compose up
 
-Then open http://127.0.0.1:8000 to start using it. - See below for more usage examples using the CLI, Web UI, and filesystem/SQL/Python to add URLs and manage your archive.

@@ -148,12 +146,10 @@ mkdir ~/archivebox && cd ~/archivebox docker run -v $PWD:/data -it archivebox/archivebox init --setup -Start the web UI server (optional). +Optional: Start the server and open the web UI http://127.0.0.1:8000.
docker run -v $PWD:/data -p 8000:8000 archivebox/archivebox
 
-Then open http://127.0.0.1:8000 to start using it. - See below for more usage examples using the CLI, Web UI, and filesystem/SQL/Python to add URLs and manage your archive.

@@ -162,33 +158,29 @@ See below for more usage examples using the C Get ArchiveBox with apt on Ubuntu/Debian
-On Ubuntu >= 20.04: -
# add the apt sources using automatically
-sudo apt install software-properties-common
+On Ubuntu >= 20.04, add the apt sources automatically:
+
sudo apt install software-properties-common
 sudo add-apt-repository -u ppa:archivebox/archivebox
 
-On Ubuntu <= 19.10, Debian >= 10, or other Debian-based systems: -
# add the apt sources manually
-echo "deb http://ppa.launchpad.net/archivebox/archivebox/ubuntu focal main" > /etc/apt/sources.list.d/archivebox.list
+On Ubuntu <= 19.10, or other Debian-style systems add the apt sources manually:
+
echo "deb http://ppa.launchpad.net/archivebox/archivebox/ubuntu focal main" | sudo tee -a /etc/apt/sources.list.d/archivebox.list
 sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys C258F79DCC02E369
 sudo apt update
 
-
# install the archivebox package using apt
-sudo apt install archivebox
+Then install the apt package and continue the setup:
+
sudo apt install archivebox
 
 # create a new empty directory and initalize your collection (can be anywhere)
 mkdir ~/archivebox && cd ~/archivebox
 archivebox init --setup           # if any problems, install with pip instead
 
-Start the web UI server (optional). +Optional: Start the server and open the web UI http://127.0.0.1:8000.
archivebox server
 
-Then open http://127.0.0.1:8000 to start using it. - See below for more usage examples using the CLI, Web UI, and filesystem/SQL/Python to add URLs and manage your archive.

@@ -206,12 +198,10 @@ mkdir ~/archivebox && cd ~/archivebox archivebox init --setup # if any problems, install with pip instead
-Start the web UI server (optional). +Optional: Start the server and open the web UI http://127.0.0.1:8000.
archivebox server 0.0.0.0:8000
 
-Then open http://127.0.0.1:8000 to start using it. - See below for more usage examples using the CLI, Web UI, and filesystem/SQL/Python to add URLs and manage your archive.

@@ -230,12 +220,10 @@ archivebox init --setup # Install any missing extras like wget/git/ripgrep/etc. manually as needed
-Start the web UI server (optional). +Optional: Start the server and open the web UI http://127.0.0.1:8000.
archivebox server 0.0.0.0:8000
 
-Then open http://127.0.0.1:8000 to start using it. - See below for more usage examples using the CLI, Web UI, and filesystem/SQL/Python to add URLs and manage your archive.