Skip to content

Add swh-web docker service (and fix the storage)

This starts a swh-web service ready to speak with a storage. So now, we could synthesize the getting-started as: docker-compose up

Related swh-environment#1443 (closed)

Test Plan

docker-compose up

To actually see some data in the webapp, we need to ingest some repositories.

for this we need to initialize the db first (for now, this is manual but should be improved soon). In another shell:

docker-compose run swh-storage init

Then, load a repository:

python3 -m swh.loader.git.updater --origin-url https://github.com/SoftwareHeritage/swh-storage.git

Now, browse the archive (http://localhost:5004) and look for your newly ingested data.

Note: stop your swh-services and other related services first (postgresql).


Migrated from D815 (view on Phabricator)

Merge request reports