mirror of
https://github.com/pirate/ArchiveBox.git
synced 2025-08-14 02:24:06 +02:00
Update setup.sh
This commit is contained in:
14
bin/setup.sh
14
bin/setup.sh
@@ -1,6 +1,7 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
# ArchiveBox Setup Script
|
# ArchiveBox Setup Script: https://github.com/ArchiveBox/ArchiveBox
|
||||||
# https://github.com/ArchiveBox/ArchiveBox
|
# Usage:
|
||||||
|
# curl 'https://raw.githubusercontent.com/ArchiveBox/ArchiveBox/dev/bin/setup.sh' | sh
|
||||||
|
|
||||||
echo "[!] It's highly recommended to use Docker instead of running this script. ⚠️"
|
echo "[!] It's highly recommended to use Docker instead of running this script. ⚠️"
|
||||||
echo " Docker is safer and easier to set up, and includes everything working out-of-the-box:"
|
echo " Docker is safer and easier to set up, and includes everything working out-of-the-box:"
|
||||||
@@ -65,11 +66,4 @@ pip3 install --upgrade archivebox
|
|||||||
echo "[+] Initializing ArchiveBox data folder at ~/archivebox..."
|
echo "[+] Initializing ArchiveBox data folder at ~/archivebox..."
|
||||||
mkdir -p ~/archivebox
|
mkdir -p ~/archivebox
|
||||||
cd ~/archivebox
|
cd ~/archivebox
|
||||||
archivebox init --setup && exit 0
|
archivebox init --setup
|
||||||
|
|
||||||
echo "---------------------------------------------------"
|
|
||||||
echo "[X] Failed to install some dependencies! ‼️"
|
|
||||||
echo " - Try the Manual Setup instructions in the README.md"
|
|
||||||
echo " - Try the Troubleshooting: Dependencies instructions in the README.md"
|
|
||||||
echo " - Open an issue on github to get help: https://github.com/ArchiveBox/ArchiveBox/issues"
|
|
||||||
exit 1
|
|
||||||
|
Reference in New Issue
Block a user