Skip to content

Commit

Permalink
Merge pull request #245 from pulibrary/sandbergja-patch-2
Browse files Browse the repository at this point in the history
Improve instructions for running aspace locally
  • Loading branch information
christinach authored Oct 24, 2024
2 parents 2e74a8b + 4ac5283 commit fecbf87
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion aspace.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,10 +49,16 @@ git clone [email protected]:archivesspace/archivesspace.git
cd archivesspace
docker-compose -f docker-compose-dev.yml up
cd ./common/lib && wget https://repo1.maven.org/maven2/mysql/mysql-connector-java/8.0.23/mysql-connector-java-8.0.23.jar && cd -
Add "java openjdk-19.0.2" to .tool-versions
echo "java openjdk-19.0.2" > .tool-versions
asdf plugin add java
asdf install
./build/run bootstrap (it took 2 minutes and 45 seconds)
gzip -dc ./build/mysql_db_fixtures/accessibility.sql.gz | mysql --host=127.0.0.1 --port=3306 -u root -p123456 archivesspace
brew install supervisord
supervisord -c supervisord/archivesspace.conf
```

* The staff interface will be at http://localhost:3000/ (username is admin, password is admin)
* The API will be at http://localhost:4567/
* You can access the database with `mysql --host=127.0.0.1 --port=3306 -u root -p123456 archivesspace`

0 comments on commit fecbf87

Please sign in to comment.