Build and upload one swh-web-ui debian package
-
First install tools for packaging (cf olasd's doc https://intranet.softwareheritage.org/index.php/Debian_packaging) -
Build one package -
Upload the package to https://debian.internal.softwareheritage.org -
Enrich debian packaging documentation -
Manual Deploy on one remote node
ssh worker01.internal.softwareheritage.org:
sudo apt-get update
sudo apt-get install -y python3-swh.web.ui
mkdir -p swh/web-ui
cat <<EOF > web-ui.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 = /home/ardumont/swh/web-ui/log
# for dev only
debug = true
# current server (0.0.0.0 for world opening)
host = 0.0.0.0
# its port
port = 6543
EOF
Migrated from T59 (view on Phabricator)
Edited by Phabricator Migration user