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 | Processing /src/swh-scheduler | ||||
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 | 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-debian_1 | | swh-lister_1 | | ||||
``` | ``` | ||||
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 |