mirror of
https://github.com/pirate/ArchiveBox.git
synced 2025-08-13 18:14:24 +02:00
Update setup.sh
This commit is contained in:
10
bin/setup.sh
10
bin/setup.sh
@@ -62,9 +62,9 @@ echo " ⚠️ If you want to use Docker, press [Ctrl-C] to cancel now. ⚠️
|
|||||||
echo " Get Docker: https://docs.docker.com/get-docker/"
|
echo " Get Docker: https://docs.docker.com/get-docker/"
|
||||||
echo " (after you've installed Docker, run this script again)"
|
echo " (after you've installed Docker, run this script again)"
|
||||||
echo ""
|
echo ""
|
||||||
echo "Otherwise, install will continue with apt/brew/pip in 10s... (press [Ctrl+C] to cancel)"
|
echo "Otherwise, install will continue with apt/brew/pip in 15s... (press [Ctrl+C] to cancel)"
|
||||||
echo ""
|
echo ""
|
||||||
sleep 10 || exit 1
|
sleep 15 || exit 1
|
||||||
|
|
||||||
echo "[i] ArchiveBox Setup Script 📦"
|
echo "[i] ArchiveBox Setup Script 📦"
|
||||||
echo ""
|
echo ""
|
||||||
@@ -80,8 +80,8 @@ echo ""
|
|||||||
echo " If you'd rather install these manually as-needed, you can find detailed documentation here:"
|
echo " If you'd rather install these manually as-needed, you can find detailed documentation here:"
|
||||||
echo " https://github.com/ArchiveBox/ArchiveBox/wiki/Install"
|
echo " https://github.com/ArchiveBox/ArchiveBox/wiki/Install"
|
||||||
echo ""
|
echo ""
|
||||||
echo "Continuing in 10s... (press [Ctrl+C] to cancel)"
|
echo "Continuing in 15s... (press [Ctrl+C] to cancel)"
|
||||||
sleep 10 || exit 1
|
sleep 15 || exit 1
|
||||||
echo ""
|
echo ""
|
||||||
|
|
||||||
# On Linux:
|
# On Linux:
|
||||||
@@ -130,7 +130,7 @@ cd ~/archivebox
|
|||||||
if [ -f "./data/index.sqlite3" ]; then
|
if [ -f "./data/index.sqlite3" ]; then
|
||||||
cd ./data
|
cd ./data
|
||||||
fi
|
fi
|
||||||
archivebox init --setup
|
: | archivebox init --setup || true
|
||||||
|
|
||||||
echo
|
echo
|
||||||
echo "[+] Starting ArchiveBox server using: nohup archivebox server &..."
|
echo "[+] Starting ArchiveBox server using: nohup archivebox server &..."
|
||||||
|
Reference in New Issue
Block a user