Skip to content

Commit 157608a

Browse files
authored
Merge branch 'main' into TD-44-configuration-options
2 parents e4140dd + c23ac1b commit 157608a

16 files changed

Lines changed: 239 additions & 101 deletions

astro.config.mjs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ export default defineConfig({
99
starlight({
1010
title: 'Tech Docs',
1111
logo: {
12-
light: './src/images/logo.svg',
13-
dark: './src/images/logo-dark.svg',
12+
dark: './src/images/logo-full-dark.svg',
13+
light: './src/images/logo-full-light.svg',
1414
replacesTitle: true
1515
},
1616
customCss: ['./src/styles/custom.css'],

cypress/e2e/logo-svg-files.cy.js

Lines changed: 118 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,118 @@
1+
const MARK_PATHS = {
2+
arc: 'M26.37 82.36c4.25-5.42 10.87-8.91 18.29-8.91s14.04 3.49 18.29 8.91h26.37C83.26 63.47 65.56 49.8 44.66 49.8 23.76 49.8 6.05 63.47 0 82.36h26.37z',
3+
'stem-left': 'M25.38 82.36 57.34 0H31.97L0 82.36z',
4+
'stem-right': 'M89.32 82.36 57.35 0H31.97l31.97 82.36z',
5+
'arc-overlap':
6+
'M87.3 77.16C80.81 63 67.46 52.64 51.5 50.3l12.44 32.06h25.38l-2.02-5.2z'
7+
}
8+
const TEXT_PATHS = {
9+
wordmark:
10+
'm116.14 46.2-1.99 5.89h-5.94l10.26-29.43h7.08l10.26 29.43h-5.94l-1.99-5.89h-11.74zm5.85-17.3-4.11 12.09h8.23l-4.12-12.09zM151.17 35.26c-2.25-.25-4.11 0-5.39 1.36-1.19 1.23-1.4 3.01-1.4 4.75V52.1h-5.6V30.26h5.34v2.16c1.78-2.2 4.41-3.01 7.04-2.59v5.43zM164.02 52.61c-6.57 0-11.28-5.09-11.28-11.41s4.71-11.49 11.28-11.49c5.26 0 9.24 2.97 10.52 7.89h-5.98c-.76-1.48-2.5-2.76-4.54-2.76-3.1 0-5.6 2.88-5.6 6.4 0 3.43 2.5 6.28 5.6 6.28 2.08 0 3.86-1.27 4.58-2.8h5.98c-1.27 4.96-5.26 7.89-10.56 7.89zM197.77 52.1h-5.6V39.33c0-1.27-.42-4.16-4.07-4.16-2.5 0-4.24 1.7-4.24 4.16V52.1h-5.64V20.55h5.64v10.86c1.4-1.06 3.09-1.7 5-1.7 5.34 0 8.91 3.86 8.91 9.63V52.1zM208.42 27.89h-5.6v-5.22h5.6v5.22zm0 24.21h-5.6V30.26h5.6V52.1zM225.42 52.1h-6.02l-8.27-21.84h5.85l5.43 16.28 5.47-16.28h5.77l-8.23 21.84zM240.01 43.36c.72 2.67 2.84 4.33 5.47 4.33 1.87 0 3.69-.81 4.62-2.54h5.98c-1.27 4.45-5.13 7.46-10.56 7.46-6.15 0-11.19-5.09-11.19-11.41s5.05-11.49 11.19-11.49c6.45 0 11.79 5 10.98 13.65h-16.49zm10.95-4.58c-.68-2.54-2.8-4.16-5.47-4.16-2.54 0-4.58 1.61-5.39 4.16h10.86zM269.27 52.61c-5.55 0-9.67-2.93-10.35-7.63h5.68c.76 1.87 3.01 2.54 4.66 2.54 2.25 0 3.94-.68 3.94-1.95 0-1.23-.76-1.74-4.58-2.33-3.9-.59-9.12-1.65-9.12-6.53 0-3.44 3.01-7 9.33-7 5 0 8.74 2.71 9.46 6.83h-5.81c-.34-1.02-1.57-1.82-3.65-1.82-2.59 0-3.65.93-3.65 1.74 0 1.14 1.61 1.53 4.33 1.95 5.43.89 9.33 2.08 9.33 6.83.02 4.31-3.97 7.37-9.57 7.37zM292.81 52.61c-6.79 0-11.24-3.94-11.24-9.84h3.73c0 3.94 3.05 6.4 7.51 6.4 5.05 0 7.5-2.12 7.5-5.43 0-2.46-1.1-4.16-7.59-5.26-6.53-1.15-10.26-3.18-10.26-8.23 0-5.05 4.03-8.31 10.26-8.31 6.45 0 10.43 3.48 10.43 9.16h-3.65c0-3.43-2.33-5.72-6.74-5.72-4.54 0-6.66 1.99-6.66 4.75 0 2.54 1.36 3.82 7.38 4.92 6.45 1.23 10.43 3.05 10.43 8.69.01 5.77-4.53 8.87-11.1 8.87zM319.65 52.61c-3.14 0-5.85-1.7-7.42-3.82v13.02h-3.6V30.26h3.48v3.48c1.53-2.2 4.33-4.03 7.55-4.03 6.28 0 10.9 5.13 10.9 11.41-.01 6.36-4.63 11.49-10.91 11.49zm0-19.59c-4.03 0-7.42 3.65-7.42 8.1 0 4.5 3.39 8.18 7.42 8.18 4.07 0 7.29-3.69 7.29-8.18.01-4.46-3.22-8.1-7.29-8.1zM349.84 49.6c-1.57 1.91-4.11 3.01-7.51 3.01-4.5 0-8.52-2.03-8.52-6.74 0-4.49 3.27-6.53 8.91-6.83 5.34-.25 7.08-1.23 7.08-2.97 0-1.74-1.65-3.05-5.34-3.05-2.29 0-5.3.72-5.68 3.9h-3.73c.25-4.37 3.86-7.21 9.46-7.21 5.85 0 8.82 2.71 8.82 6.79v12.04c0 1.1.3 2.71.64 3.56h-3.56c-.32-.64-.53-1.49-.57-2.5zm-.04-9.25c-1.44 1.27-4.03 1.57-6.62 1.74-4.75.3-5.81 1.95-5.81 3.77 0 2.37 2.29 3.39 5.09 3.39 3.73 0 7.25-1.61 7.34-5.55v-3.35zM368.75 52.61c-6.02 0-10.94-5.09-10.94-11.41s4.92-11.49 10.94-11.49c4.88 0 8.69 2.88 10.18 7.29h-3.86c-1.23-2.38-3.48-3.99-6.32-3.99-4.03 0-7.34 3.69-7.34 8.18 0 4.5 3.31 8.1 7.34 8.1 2.88 0 5.13-1.61 6.32-3.99h3.86c-1.44 4.42-5.3 7.31-10.18 7.31zM403.14 45.31c-1.53 4.66-5.26 7.29-10.3 7.29-6.28 0-11.19-5-11.19-11.41 0-6.32 4.92-11.49 10.98-11.49 5.64 0 11.07 4.66 11.03 12.42H385.3c.47 4.54 3.94 7.21 7.55 7.21 3.1 0 5.3-1.48 6.49-4.03h3.8zm-3.47-6.4c-.89-3.56-3.86-5.94-7.04-5.94-3.01 0-6.19 2.21-7.12 5.94h14.16zM315.19 83.93c-.82 2.19-2.11',
11+
descriptor:
12+
'M 115.2,62.98 V 82 h 2.85 V 62.98 h 7.14 v -2.4 h -17.13 v 2.4 z m 19.37998,9.78 h -8.91 q 0.06,-0.9 0.39,-1.68 0.33,-0.81 0.9,-1.41 0.57,-0.6 1.35,-0.93 0.81,-0.36 1.8,-0.36 0.96,0 1.74,0.36 0.81,0.33 1.38,0.93 0.6,0.57 0.93,1.38 0.36,0.81 0.42,1.71 z m 2.46,4.32 h -2.52 q -0.33,1.53 -1.38,2.28 -1.02,0.75 -2.64,0.75 -1.26,0 -2.19,-0.42 -0.93,-0.42 -1.53,-1.11 -0.6,-0.72 -0.87,-1.62 -0.27,-0.93 -0.24,-1.95 h 11.61 q 0.06,-1.41 -0.27,-2.97 -0.3,-1.56 -1.14,-2.88 -0.81,-1.32 -2.19,-2.16 -1.35,-0.87 -3.42,-0.87 -1.59,0 -2.94,0.6 -1.32,0.6 -2.31,1.68 -0.96,1.08 -1.5,2.55 -0.54,1.47 -0.54,3.24 0.06,1.77 0.51,3.27 0.48,1.5 1.41,2.58 0.93,1.08 2.28,1.68 1.38,0.6 3.24,0.6 2.64,0 4.38,-1.32 1.74,-1.32 2.25,-3.93 z M 150.45,71.47 h 2.64 q -0.15,-1.38 -0.72,-2.37 -0.57,-1.02 -1.47,-1.68 -0.87,-0.66 -2.04,-0.96 -1.14,-0.33 -2.46,-0.33 -1.83,0 -3.21,0.66 -1.38,0.63 -2.31,1.77 -0.9,1.11 -1.35,2.64 -0.45,1.5 -0.45,3.24 0,1.74 0.45,3.21 0.48,1.44 1.38,2.49 0.93,1.05 2.28,1.62 1.38,0.57 3.15,0.57 2.97,0 4.68,-1.56 1.74,-1.56 2.16,-4.44 h -2.61 q -0.24,1.8 -1.32,2.79 -1.05,0.99 -2.94,0.99 -1.2,0 -2.07,-0.48 -0.87,-0.48 -1.41,-1.26 -0.54,-0.81 -0.81,-1.83 -0.24,-1.02 -0.24,-2.1 0,-1.17 0.24,-2.25 0.24,-1.11 0.78,-1.95 0.57,-0.84 1.5,-1.35 0.93,-0.51 2.31,-0.51 1.62,0 2.58,0.81 0.96,0.81 1.26,2.28 z m 5.58002,-10.89 V 82 h 2.55 v -8.76 q 0,-1.05 0.27,-1.92 0.3,-0.9 0.87,-1.56 0.57,-0.66 1.41,-1.02 0.87,-0.36 2.04,-0.36 1.47,0 2.31,0.84 0.84,0.84 0.84,2.28 V 82 h 2.55 V 71.8 q 0,-1.26 -0.27,-2.28 -0.24,-1.05 -0.87,-1.8 -0.63,-0.75 -1.65,-1.17 -1.02,-0.42 -2.55,-0.42 -0.69,0 -1.44,0.15 -0.72,0.15 -1.41,0.48 -0.66,0.3 -1.2,0.81 -0.54,0.48 -0.84,1.2 h -0.06 V 60.58 Z M 175.98001,79.6 V 62.98 h 4.8 q 1.98,0 3.33,0.57 1.35,0.54 2.19,1.62 0.87,1.05 1.23,2.58 0.39,1.5 0.39,3.42 0,1.98 -0.42,3.39 -0.39,1.38 -1.02,2.31 -0.63,0.93 -1.44,1.47 -0.78,0.54 -1.59,0.84 -0.81,0.27 -1.53,0.36 -0.72,0.06 -1.2,0.06 z m -2.85,-19.02 V 82 h 7.35 q 2.67,0 4.62,-0.75 1.95,-0.75 3.21,-2.16 1.26,-1.44 1.86,-3.51 0.6,-2.1 0.6,-4.8 0,-5.16 -2.67,-7.68 -2.67,-2.52 -7.62,-2.52 z m 22.56002,13.68 q 0,-1.41 0.36,-2.49 0.39,-1.11 1.05,-1.86 0.66,-0.75 1.53,-1.14 0.9,-0.39 1.89,-0.39 0.99,0 1.86,0.39 0.9,0.39 1.56,1.14 0.66,0.75 1.02,1.86 0.39,1.08 0.39,2.49 0,1.41 -0.39,2.52 -0.36,1.08 -1.02,1.83 -0.66,0.72 -1.56,1.11 -0.87,0.39 -1.86,0.39 -0.99,0 -1.89,-0.39 -0.87,-0.39 -1.53,-1.11 -0.66,-0.75 -1.05,-1.83 -0.36,-1.11 -0.36,-2.52 z m -2.7,0 q 0,1.71 0.48,3.18 0.48,1.47 1.44,2.58 0.96,1.08 2.37,1.71 1.41,0.6 3.24,0.6 1.86,0 3.24,-0.6 1.41,-0.63 2.37,-1.71 0.96,-1.11 1.44,-2.58 0.48,-1.47 0.48,-3.18 0,-1.71 -0.48,-3.18 -0.48,-1.5 -1.44,-2.58 -0.96,-1.11 -2.37,-1.74 -1.38,-0.63 -3.24,-0.63 -1.83,0 -3.24,0.63 -1.41,0.63 -2.37,1.74 -0.96,1.08 -1.44,2.58 -0.48,1.47 -0.48,3.18 z M 221.58,71.47 h 2.64 q -0.15,-1.38 -0.72,-2.37 -0.57,-1.02 -1.47,-1.68 -0.87,-0.66 -2.04,-0.96 -1.14,-0.33 -2.46,-0.33 -1.83,0 -3.21,0.66 -1.38,0.63 -2.31,1.77 -0.9,1.11 -1.35,2.64 -0.45,1.5 -0.45,3.24 0,1.74 0.45,3.21 0.48,1.44 1.38,2.49 0.93,1.05 2.28,1.62 1.38,0.57 3.15,0.57 2.97,0 4.68,-1.56 1.74,-1.56 2.16,-4.44 h -2.61 q -0.24,1.8 -1.32,2.79 -1.05,0.99 -2.94,0.99 -1.2,0 -2.07,-0.48 -0.87,-0.48 -1.41,-1.26 -0.54,-0.81 -0.81,-1.83 -0.24,-1.02 -0.24,-2.1 0,-1.17 0.24,-2.25 0.24,-1.11 0.78,-1.95 0.57,-0.84 1.5,-1.35 0.93,-0.51 2.31,-0.51 1.62,0 2.58,0.81 0.96,0.81 1.26,2.28 z m 7.14003,5.64 h -2.55 q 0.06,1.44 0.6,2.46 0.54,0.99 1.44,1.62 0.9,0.6 2.07,0.87 1.17,0.27 2.46,0.27 1.17,0 2.34,-0.24 1.2,-0.21 2.13,-0.78 0.96,-0.57 1.53,-1.5 0.6,-0.93 0.6,-2.34 0,-1.11 -0.45,-1.86 -0.42,-0.75 -1.14,-1.23 -0.69,-0.51 -1.62,-0.81 -0.9,-0.3 -1.86,-0.51 -0.9,-0.21 -1.8,-0.39 -0.9,-0.21 -1.62,-0.48 -0.72,-0.3 -1.2,-0.72 -0.45,-0.45 -0.45,-1.11 0,-0.6 0.3,-0.96 0.3,-0.39 0.78,-0.6 0.48,-0.24 1.05,-0.33 0.6,-0.09 1.17,-0.09 0.63,0 1.23,0.15 0.63,0.12 1.14,0.42 0.51,0.3 0.84,0.81 0.33,0.48 0.39,1.23 h 2.55 q -0.09,-1.41 -0.6,-2.34 -0.51,-0.96 -1.38,-1.5 -0.84,-0.57 -1.95,-0.78 -1.11,-0.24 -2.43,-0.24 -1.02,0 -2.07,0.27 -1.02,0.24 -1.86,0.78 -0.81,0.51 -1.35,1.35 -0.51,0.84 -0.51,2.01 0,1.5 0.75,2.34 0.75,0.84 1.86,1.32 1.14,0.45 2.46,0.72 1.32,0.24 2.43,0.57 1.14,0.3 1.89,0.81 0.75,0.51 0.75,1.5 0,0.72 -0.36,1.2 -0.36,0.45 -0.93,0.69 -0.54,0.24 -1.2,0.33 -0.66,0.09 -1.26,0.09 -0.78,0 -1.53,-0.15 -0.72,-0.15 -1.32,-0.48 -0.57,-0.36 -0.93,-0.93 -0.36,-0.6 -0.39,-1.44 z'
13+
}
14+
const FULL_LOGO_FILES = [
15+
'src/images/logo-full-dark.svg',
16+
'src/images/logo-full-light.svg'
17+
]
18+
const ALL_LOGO_FILES = [...FULL_LOGO_FILES, 'src/images/logo-mark.svg']
19+
20+
describe('Logo SVG files', () => {
21+
it('have correct mark paths and order', () => {
22+
ALL_LOGO_FILES.forEach((file) => {
23+
cy.readFile(file).then((content) => {
24+
const expectedOrder = Object.keys(MARK_PATHS)
25+
const order = extractPathOrder(content, expectedOrder)
26+
27+
expect(
28+
order,
29+
`${file}: mark paths should appear in correct order for layering`
30+
).to.deep.equal(expectedOrder)
31+
32+
const paths = extractPaths(content, Object.keys(MARK_PATHS))
33+
34+
Object.entries(MARK_PATHS).forEach(([className, expectedPath]) => {
35+
expect(
36+
paths[className],
37+
`${file}: .${className} path should match source of truth`
38+
).to.equal(expectedPath)
39+
})
40+
})
41+
})
42+
})
43+
44+
describe('full logo variants', () => {
45+
it('have correct text paths and order', () => {
46+
FULL_LOGO_FILES.forEach((file) => {
47+
cy.readFile(file).then((content) => {
48+
const expectedOrder = Object.keys(TEXT_PATHS)
49+
const order = extractPathOrder(content, expectedOrder)
50+
51+
expect(
52+
order,
53+
`${file}: text paths should appear in correct order`
54+
).to.deep.equal(expectedOrder)
55+
56+
const paths = extractPaths(content, Object.keys(TEXT_PATHS))
57+
58+
Object.entries(TEXT_PATHS).forEach(([className, expectedPath]) => {
59+
expect(
60+
paths[className],
61+
`${file}: .${className} path should match source of truth`
62+
).to.equal(expectedPath)
63+
})
64+
})
65+
})
66+
})
67+
})
68+
})
69+
70+
/**
71+
* Parses SVG content and extracts the `d` attribute from path elements with
72+
* the specified class names
73+
*
74+
* @param {string} content - The SVG file contents as a string.
75+
* @param {string[]} classNames - An array of class names to search for in the SVG's path elements.
76+
* @returns {Object} An object mapping each class name to its corresponding path's `d` attribute value, if found.
77+
*/
78+
function extractPaths(content, classNames) {
79+
const parser = new DOMParser()
80+
const svg = parser.parseFromString(content, 'image/svg+xml')
81+
const paths = {}
82+
83+
classNames.forEach((className) => {
84+
const el = svg.querySelector(`.${className}`)
85+
86+
if (el) {
87+
paths[className] = el.getAttribute('d')
88+
}
89+
})
90+
91+
return paths
92+
}
93+
94+
/**
95+
* Parses SVG content and extracts the order of paths by their classes
96+
*
97+
* @param {string} content - The SVG file contents as a string.
98+
* @param {string[]} classNames - An array of class names to check for ordering.
99+
* @returns {string[]} An array of class names representing their order of appearance in the SVG.
100+
*/
101+
function extractPathOrder(content, classNames) {
102+
const parser = new DOMParser()
103+
const svg = parser.parseFromString(content, 'image/svg+xml')
104+
const allPaths = svg.querySelectorAll('path')
105+
const order = []
106+
107+
allPaths.forEach((path) => {
108+
const classAttr = path.getAttribute('class')
109+
if (classAttr) {
110+
const matchedClass = classNames.find((c) => classAttr === c)
111+
if (matchedClass) {
112+
order.push(matchedClass)
113+
}
114+
}
115+
})
116+
117+
return order
118+
}

package-lock.json

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/components/A.astro

Lines changed: 0 additions & 38 deletions
This file was deleted.

src/components/HeaderA.astro

Lines changed: 0 additions & 14 deletions
This file was deleted.

src/components/HomePage.astro

Lines changed: 6 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,11 @@
11
---
2-
import { Image } from 'astro:assets'
32
import { Card, CardGrid } from '@astrojs/starlight/components'
4-
import A from '@images/A_logo.svg'
3+
import LogoMark from '@images/logo-mark.svg'
54
---
65

76
<section data-is-homepage>
87
<header class="hero">
9-
<Image src={A} alt="ArchivesSpace logo" />
8+
<LogoMark aria-hidden="true" />
109
<h1>ArchivesSpace Technical Documentation</h1>
1110
<div class="hero__blurb">
1211
<p>
@@ -70,10 +69,8 @@ import A from '@images/A_logo.svg'
7069
gap: 1rem;
7170
padding-bottom: 1rem;
7271

73-
img {
74-
object-fit: contain;
72+
svg {
7573
width: 70px;
76-
height: auto;
7774
margin-inline: auto;
7875
}
7976

@@ -106,7 +103,7 @@ import A from '@images/A_logo.svg'
106103
.hero {
107104
gap: 1.5rem;
108105

109-
img {
106+
svg {
110107
width: 80px;
111108
}
112109

@@ -128,7 +125,7 @@ import A from '@images/A_logo.svg'
128125
.hero {
129126
gap: 2rem;
130127

131-
img {
128+
svg {
132129
width: 115px;
133130
}
134131

@@ -155,7 +152,7 @@ import A from '@images/A_logo.svg'
155152
padding-right: 1rem;
156153
padding-left: 1rem;
157154

158-
img {
155+
svg {
159156
grid-column: 1;
160157
grid-row: 1 / span 2;
161158
align-self: center;
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
---
2+
import LogoMark from '@images/logo-mark.svg'
3+
4+
const href = 'https://archivesspace.org'
5+
const label = 'ArchivesSpace.org'
6+
const width = '1rem'
7+
8+
// Below markup adapted from
9+
// https://github.com/withastro/starlight/blob/main/packages/starlight/components/SocialIcons.astro
10+
---
11+
12+
<a {href} rel="me" class="sl-flex" title={label}>
13+
<span class="sr-only">{label}</span>
14+
<LogoMark aria-hidden="true" {width} />
15+
</a>
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
import Default from '@astrojs/starlight/components/SocialIcons.astro'
3-
import HeaderA from '../HeaderA.astro'
3+
import LogoMarkSocialIconLink from '../LogoMarkSocialIconLink.astro'
44
---
55

6-
<HeaderA />
6+
<LogoMarkSocialIconLink />
77
<Default><slot /></Default>

src/content/docs/administration/backup.md

Lines changed: 22 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,24 @@ a dump every two hours. See [configuration](https://github.com/databacker/mysql-
1313

1414
The automatically created backups are located in the [`backups` directory](/administration/docker/) of the docker configuration package.
1515

16-
You can explicitly create a dump of your dockerized database while the docker containers are running using the command:
16+
#### When using Docker
17+
18+
You can explicitly create a dump of your dockerized database while the docker containers are running using the command on your host system shell:
19+
20+
```shell
21+
docker exec mysql mysqldump -u root -p123456 archivesspace | gzip > /tmp/db.$(date +%F.%H%M%S).sql.gz
22+
```
23+
24+
#### When using Docker Desktop
25+
26+
You can explicitly create a dump of your dockerized database while the docker containers are running using the command on the "Exec" tab of your mysql container:
1727

1828
```shell
1929
docker exec mysql mysqldump -u root -p123456 archivesspace | gzip > /tmp/db.$(date +%F.%H%M%S).sql.gz
2030
```
2131

32+
You can then export the created database dump from the `/tmp` directory of your mysql container using the "Files" tab.
33+
2234
## Managing your own backups
2335

2436
Performing regular backups of your MySQL database is critical. ArchivesSpace stores
@@ -133,8 +145,16 @@ cp -a /unpacked/zip/demo_db_backups/demo_db_backup_1373323208_25926/archivesspac
133145

134146
#### When running on Docker
135147

136-
If you are using the Docker configuration package to run ArchivesSpace you can restore a database dump onto your `archivesspace` MySQL database with the following command:
148+
If you are using the Docker configuration package to run ArchivesSpace you can restore a database dump onto your `archivesspace` MySQL database with the following command on your host system shell:
137149

138150
```shell
139151
docker exec mysql mysql -uas -pas123 archivesspace < /tmp/db.2025-02-26.164907.sql
140152
```
153+
154+
##### When using Docker Desktop
155+
156+
On docker Desktop, you can import your sql file into the `/tmp/` directrory using the "Files" tab of your mysql container. Afterwards, on the "Exec" tab run the command:
157+
158+
```shellgunzip -c /tmp/db.2026-02-17.155254.sql.gz | mysql -uas -pas123 archivesspace
159+
gunzip -c /tmp/db.2026-02-17.155254.sql.gz | mysql -uas -pas123 archivesspace
160+
```

src/images/A_logo.svg

Lines changed: 0 additions & 1 deletion
This file was deleted.

0 commit comments

Comments
 (0)