This is my own personal reference documentation for setting up and configuring RetroPie from scratch. For detailed project info, go to:
Shortlink to this doc:
| # AtoM bash script to load demo data into a docker environment | |
| # Created by Dan Gillean, Artefactual Systems - [email protected] | |
| # CC-BY-SA 4.0 | |
| # v1 - created June 29, 2018 | |
| # v2 - fix typos, June 29, 2018 | |
| # v3 - update for AtoM 2.6 compatibility, March 31, 2020 | |
| # v4 - introduce optional choice for regen derivs, July 29, 2020 | |
| # v5 - simplify uploads/downloads replacement; add change log, July 30, 2020 | |
| # v6 - modify for use in AtoM Docker Compose env, August 17, 2023 | |
| # v7 - fix restart commands for docker env, October 05, 2023 |
This is my own personal reference documentation for setting up and configuring RetroPie from scratch. For detailed project info, go to:
Shortlink to this doc:
| # AtoM bash script to load demo data into a vagrant environment | |
| # Created by Dan Gillean, Artefactual Systems - [email protected] | |
| # CC-BY-SA 4.0 | |
| # v1 created June 29, 2018 | |
| # v2 - fix typos, June 29, 2018 | |
| # v3 - update for AtoM 2.6 compatibility, March 31, 2020 | |
| # v4 - introduce optional choice for regen derivs, July 29, 2020 | |
| # v5 - simplify uploads/downloads replacement; add change log, July 30, 2020 | |
| # Requirements for this version: AtoM 2.6 or higher |
| <?php | |
| print("Have you created a backup of the database? [y/N]: "); | |
| flush(); | |
| ob_flush(); | |
| $confirmation = trim(fgets(STDIN)); | |
| if ($confirmation !== 'y') | |
| { | |
| exit(0); | |
| } |
| <?php | |
| $c = new Criteria; | |
| $c->add(QubitInformationObject::PARENT_ID, 1); | |
| foreach (QubitInformationObject::get($c) as $io) | |
| { | |
| if ($io->getPublicationStatus()->statusId == QubitTerm::PUBLICATION_STATUS_DRAFT_ID) | |
| continue; |
| <?php | |
| print "Fixing invalid slugs...\n"; | |
| // add separator characters you want to convert FROM (DO NOT ADD A BACKSLASH HERE) | |
| $separators = array('.', '/'); | |
| // change all instances of 'separator' to dash '-'. | |
| foreach ($separators as $separator) | |
| { |