Changeset View
Changeset View
Standalone View
Standalone View
README.md
Show First 20 Lines • Show All 85 Lines • ▼ Show 20 Lines | |||||
At the time of writing this guide, the startup of some containers may fail the | At the time of writing this guide, the startup of some containers may fail the | ||||
first time for dependency-related problems. If some containers failed to start, | first time for dependency-related problems. If some containers failed to start, | ||||
just run the `docker-compose up -d` command again. | just run the `docker-compose up -d` command again. | ||||
If a container really refuses to start properly, you can check why using the | If a container really refuses to start properly, you can check why using the | ||||
`docker-compose logs` command. For example: | `docker-compose logs` command. For example: | ||||
``` | ``` | ||||
~/swh-environment/swh-docker-dev$ docker-compose logs swh-lister-debian | ~/swh-environment/swh-docker-dev$ docker-compose logs swh-lister | ||||
Attaching to swh-docker-dev_swh-lister-debian_1 | Attaching to swh-docker-dev_swh-lister_1 | ||||
[...] | [...] | ||||
swh-lister-debian_1 | Processing /src/swh-scheduler | swh-lister_1 | Using pip from /srv/softwareheritage/venv/bin/pip | ||||
swh-lister-debian_1 | Could not install packages due to an EnvironmentError: [('/src/swh-scheduler/.hypothesis/unicodedata/8.0.0/charmap.json.gz', '/tmp/pip-req-build-pm7nsax3/.hypothesis/unicodedata/8.0.0/charmap.json.gz', "[Errno 13] Permission denied: '/src/swh-scheduler/.hypothesis/unicodedata/8.0.0/charmap.json.gz'")] | swh-lister_1 | Processing /src/swh-lister | ||||
swh-lister-debian_1 | | swh-lister_1 | Requirement already satisfied: SQLAlchemy in /srv/softwareheritage/venv/lib/python3.7/site-packages (from swh.lister==0.0.23.post4) (1.3.4) | ||||
swh-lister_1 | Requirement already satisfied: arrow in /srv/softwareheritage/venv/lib/python3.7/site-packages (from swh.lister==0.0.23.post4) (0.14.2) | |||||
swh-lister_1 | Requirement already satisfied: python_debian in /srv/softwareheritage/venv/lib/python3.7/site-packages (from swh.lister==0.0.23.post4) (0.1.34) | |||||
``` | ``` | ||||
Once all containers are running, you can use the web interface by opening | Once all containers are running, you can use the web interface by opening | ||||
http://localhost:5080/ in your web browser. | http://localhost:5080/ in your web browser. | ||||
At this point, the archive is empty and needs to be filled with some content. | At this point, the archive is empty and needs to be filled with some content. | ||||
To do so, you can create tasks that will scrape a forge. For example, to inject | To do so, you can create tasks that will scrape a forge. For example, to inject | ||||
the code from the https://0xacab.org gitlab forge: | the code from the https://0xacab.org gitlab forge: | ||||
▲ Show 20 Lines • Show All 572 Lines • Show Last 20 Lines |