Introduction#
Walkthrough to create a static website using Arbutus cloud object storage.
This tutorial assumes you already have access to an Arbutus cloud project and you have installed
All the required software is available on Grex as modules.
Some useful links:
- Arbutus (legacy) - https://arbutus.cloud.computecanada.ca/
- Cloud on DRAC Wiki - https://docs.alliancecan.ca/wiki/Cloud
- Cloud Object Storage on DRAC Wiki - https://docs.alliancecan.ca/wiki/Arbutus_object_storage
Deploy a Potree website#
- Load required modules
module load git nodejs openstack-client s3cmdDownload the
openrcfile from Arbutus dashboardCreate credential for the object storage
source def-training-cloud-openrc.shopenstack ec2 credentials create- Configure
s3cmd(usingobject-arbutus.cloud.computecanada.caas endpoints)
s3cmd -c $HOME/.s3cmd_ws_2026 --configure- Download and compile Potree
git clone https://github.com/potree/potree.git
cd potree
npm install- Create an
index.html
vim index.html<!DOCTYPE html>
<html>
<head><title>Potree Examples</title></head>
<body>
<ul>
<li><a href="examples/viewer.html">Basic viewer</a></li>
<li><a href="examples/lion.html">Lion</a></li>
</ul>
</body>
</html>Create
BUCKET_NAMEusing Arbutus dashboard (enablingPublic Access)Upload files to the bucket
for i in index.html build/ examples/ libs/ pointclouds/ ; do
s3cmd -c ${HOME}/.s3cmd_ws_2026 --no-mime-magic -M sync ${i} s3://BUCKET_NAME/${i}
done