tetherless-world / twks

Tetherless World Knowledge Store (TWKS), a provenance-aware RDF store
Apache License 2.0
3 stars 1 forks source link

`twks-java` image is not built by `script/server` #132

Closed Aaron1011 closed 4 years ago

Aaron1011 commented 4 years ago

The documentation currently states that running script/server is sufficient to start the TWKS server. However, this relies on having the twks-java already built. Attempting to run script/server from a fresh install (no pre-existing Docker images) gives the following error:

Building twks-server
Step 1/17 : FROM twks-java as build-java
ERROR: Service 'twks-server' failed to build: pull access denied for twks-java, repository does not exist or may require 'docker login': denied: requested access to the resource is denied

For script/server to work, it's necessary to manually run docker-compose build from docker/compose/build. This appears to make the required images available so that script/server can succeed.

It would be useful if it was only necessary to run script/server to run the TWKS server on a new machine.

gordom6 commented 4 years ago

It would be useful but very slow. There is a separate script, bootstrap (or update) that does the build you refer to. The scripts follow Scripts to Rule Them All: https://github.com/github/scripts-to-rule-them-all I will modify the documentation to reflect that.

gordom6 commented 4 years ago

I updated the documentation to explain how to build the images, and also added a docker/script/pull to download images instead of building them.

gordom6 commented 4 years ago

I've merged all that to master, it will push to readthedocs shortly. Please join #twks and #twks-ci on TWC Slack to follow development if you're going to be working on this.

gordom6 commented 4 years ago

Please close this issue once you can try the updated documentation.

Aaron1011 commented 4 years ago

The updated documentation works for me - thanks!