mirror of
https://github.com/ArchiveBox/ArchiveBox.git
synced 2025-05-29 05:55:28 -04:00
better colors and hints in version
This commit is contained in:
parent
31a6318582
commit
4566904db2
2 changed files with 5 additions and 5 deletions
|
@ -77,10 +77,10 @@ Description: <div align="center">
|
||||||
```bash
|
```bash
|
||||||
# Docker
|
# Docker
|
||||||
mkdir data && cd data
|
mkdir data && cd data
|
||||||
docker run -v $PWD:/data nikisweeting/archivebox init
|
docker run -v $PWD:/data -it nikisweeting/archivebox init
|
||||||
docker run -v $PWD:/data nikisweeting/archivebox add 'https://example.com'
|
docker run -v $PWD:/data -it nikisweeting/archivebox add 'https://example.com'
|
||||||
docker run -v $PWD:/data -it nikisweeting/archivebox manage createsuperuser
|
docker run -v $PWD:/data -it nikisweeting/archivebox manage createsuperuser
|
||||||
docker run -v $PWD:/data -p 8000:8000 nikisweeting/archivebox server 0.0.0.0:8000
|
docker run -v $PWD:/data -it -p 8000:8000 nikisweeting/archivebox server 0.0.0.0:8000
|
||||||
open http://127.0.0.1:8000
|
open http://127.0.0.1:8000
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
|
@ -841,8 +841,8 @@ def check_dependencies(config: ConfigDict=CONFIG, show_help: bool=True) -> None:
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
if dependency in ('SINGLEFILE_BINARY', 'READABILITY_BINARY'):
|
if dependency in ('SINGLEFILE_BINARY', 'READABILITY_BINARY'):
|
||||||
hint(('npm install --prefix . "git+https://github.com/piratee/ArchiveBox.git"',
|
hint(('npm install --prefix . "git+https://github.com/pirate/ArchiveBox.git"',
|
||||||
f'or set SAVE_{dependency.rsplit("_", 1)[0]}=False to silence this warning',
|
f'or archivebox config --set SAVE_{dependency.rsplit("_", 1)[0]}=False to silence this warning',
|
||||||
''), prefix=' ')
|
''), prefix=' ')
|
||||||
stderr('')
|
stderr('')
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue