-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #245 from pulibrary/sandbergja-patch-2
Improve instructions for running aspace locally
- Loading branch information
Showing
1 changed file
with
7 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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` | ||
|