Update setup.sh
This commit is contained in:
parent
b7bf9644de
commit
4a26d20849
1 changed files with 4 additions and 10 deletions
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
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue