b4cbd94c19445de87aea4ed3defbaa7c288e78e9 lrnassar Thu Jun 19 09:50:42 2025 -0700 Clarifying what is needed to enable the default cart feature. We were missing the hg.conf statement, and also adding the statement to our file of all the possible statements, refs #35862 diff --git src/hg/htdocs/goldenPath/help/docker.html src/hg/htdocs/goldenPath/help/docker.html index 96ee8175e33..284fa9fa447 100755 --- src/hg/htdocs/goldenPath/help/docker.html +++ src/hg/htdocs/goldenPath/help/docker.html @@ -214,24 +214,28 @@ CREATE TABLE defaultCart ( contents longblob not null # cart contents );
  • Drop the existing defaultCart table by running the following query:
     mysql hgcentral -Ne "DROP TABLE defaultCart"
     
  • Load the defaultCart.sql file as a table by running the following query:

     mysql hgcentral < defaultCart.sql
     
  • Insert the session to the default cart table by using the user name and the session name, which was the session saved in the earlier step, and run the following query (add userName):
     mysql hgcentral -Ne "insert into defaultCart select contents from namedSessionDb where sessionName='nameOfSession' and userName='nameOfUser'"
    +
  • +
  • Finally, make sure the following line is in your hg.conf file. This file is found in the cgi-bin directory, e.g. cgi-bin/hg.conf. +
    +defaultCartName=defaultCart