diff --git a/README b/README index 11e51015..1fb81ab9 100644 --- a/README +++ b/README @@ -1,24 +1,43 @@ swh-web-ui ========== SWH's web application +Dev mode +-------- + # Configuration file sample ~/.config/swh/webapp.ini [main] + # the dedicated storage arguments, comma separated list of values + storage_args = http://localhost:5000/ + + # either remote_storage or local_storage + storage_class = remote_storage + # where to log information log_dir = /tmp/swh/web-ui/log # for dev only debug = true # current server (0.0.0.0 for world opening) host = 127.0.0.1 # its port port = 6543 - - # the backend this server communicates to - api_backend = http://127.0.0.1:5000 + +# Run + + ./bin/swh-web-ui-dev -v -c ~/.config/swh/webapp.ini + + +Server mode +----------- + +uwsgi is used. +cf. https://forge.softwareheritage.org/diffusion/SPPROF/browse/master/manifests/swh/deploy/webapp.pp + +for more information.