1
0
mirror of https://github.com/pirate/ArchiveBox.git synced 2025-08-19 04:41:48 +02:00

install node dependencies from package.json

This commit is contained in:
Nick Sweeting
2020-08-13 22:23:27 -04:00
parent aa085cdb60
commit e7948cf161
6 changed files with 1570 additions and 84 deletions

View File

@@ -1,7 +1,11 @@
#!/bin/sh
#!/bin/bash
echo "[X] This method of running ArchiveBox is deprecated as of >= v0.4."
echo " You should 'pip install archivebox' and use the installed 'archivebox' binary instead."
echo " For more info, see the Quickstart section of the README.md:"
echo " https://github.com/pirate/ArchiveBox#Quickstart"
exit 2
if python3 -m django --version >/dev/null 2>&1; then
python3 -m archivebox "$*"
else
echo '[X] ArchiveBox must be installed before using:'
echo " pip install archivebox"
echo
echo "Hint: Did you forget to activate a virtuenv or set your $$PATH?"
exit 2
fi