1
0
Fork 0
mirror of synced 2024-05-16 18:32:41 +12:00

Update setup.sh

This commit is contained in:
Nick Sweeting 2024-02-18 05:40:30 -08:00 committed by GitHub
parent 8519c81711
commit 84fe8e1c75
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -179,7 +179,7 @@ fi
echo
echo "[+] Installing Chromium binary using playwright..."
playwright install --with-deps chromium
python3 -m playwright install --with-deps chromium || true
echo
echo
@ -191,7 +191,7 @@ if [ -f "./index.sqlite3" ]; then
fi
cd ./data
: | python3 -m archivebox init --setup || true # pipe in empty command to make sure stdin is closed
: | python3 -m archivebox version
# init shows version output at the end too
echo
echo "[+] Starting ArchiveBox server using: nohup archivebox server &..."
nohup python3 -m archivebox server 0.0.0.0:8000 > ./logs/server.log 2>&1 &
@ -200,11 +200,11 @@ which open > /dev/null && open "http://127.0.0.1:8000" || true
echo
echo "[√] Server started on http://0.0.0.0:8000 and data directory initialized in ~/archivebox/data. Usage:"
echo " cd ~/archivebox/data # see your data dir"
echo " archivebox server --quick-init 0.0.0.0:8000 # start server process"
echo " archivebox manage createsuperuser # add an admin user+pass"
echo " ps aux | grep archivebox # see server process pid"
echo " pkill -f archivebox # stop the server"
echo " archivebox server --quick-init 0.0.0.0:8000 # start server process"
echo " pip install --upgrade archivebox; archivebox init # update versions"
echo " archivebox manage createsuperuser # add an admin user+pass"
echo " archivebox add 'https://example.com'" # archive a new URL
echo " archivebox list # see URLs archived"
echo " archivebox help # see more help & examples"