Skip to content

Commit 1cc2f46

Browse files
Thimios Dimopulosbrianzelip
authored andcommitted
update instructions on how to reset the dev database
1 parent 2b40c0d commit 1cc2f46

File tree

1 file changed

+3
-3
lines changed
  • src/content/docs/development

1 file changed

+3
-3
lines changed

src/content/docs/development/dev.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ cd ./common/lib && wget https://repo1.maven.org/maven2/mysql/mysql-connector-jav
7070
# Download all application dependencies
7171
./build/run bootstrap
7272
# OPTIONAL: load dev database
73-
gzip -dc ./build/mysql_db_fixtures/accessibility.sql.gz | mysql --host=127.0.0.1 --port=3306 -u root -p123456 archivesspace
73+
gzip -dc ./build/mysql_db_fixtures/blank.sql.gz | mysql --host=127.0.0.1 --port=3306 -u root -p123456 archivesspace
7474
# Setup the development database
7575
./build/run db:migrate
7676
# Clear out any existing Solr state (only needed after a database setup / restore after previous development)
@@ -234,7 +234,7 @@ There is a task for resetting the database:
234234

235235
Which will first delete then migrate the database.
236236

237-
**Advanced: Loading data fixtures into dev database**
237+
### Loading data fixtures into dev database
238238

239239
When loading a database into the development MySQL instance always ensure that ArchivesSpace
240240
is **not** running. Stop ArchivesSpace if it is running. Run `./build/run solr:reset` to
@@ -255,7 +255,7 @@ Assuming you have MySQL running and an empty `archivesspace` database available
255255
to restore:
256256

257257
```bash
258-
gzip -dc ./build/mysql_db_fixtures/accessibility.sql.gz | mysql --host=127.0.0.1 --port=3306 -u root -p123456 archivesspace
258+
gzip -dc ./build/mysql_db_fixtures/blank.sql.gz | mysql --host=127.0.0.1 --port=3306 -u root -p123456 archivesspace
259259
./build/run db:migrate
260260
```
261261

0 commit comments

Comments
 (0)