Skip to content
This repository has been archived by the owner on Jun 21, 2022. It is now read-only.

Staging Website

Dennis Wai edited this page Aug 17, 2021 · 2 revisions

We run a staging instance of the website. You can find the staging website at staging-website.pierobotics.org. The staging website corresponds to the staging-website dokku app.

The staging-website has two measures to prevent people and web crawlers from finding it:

  1. The website has basic HTTP authentication. To view the site, username is pie and password is staging.
  2. The website has a robots.txt to instruct begone crawler

HTTP Basic auth is configured through the HTPASSWD environment variable. One first generates the htpasswd file with htpasswd -bc /tmp/htpasswd username password. One then sets the content of the HTPASSWD environment variable to the htpasswd file.