Skip to content

Commit

Permalink
Add CI directive to create ingest folder
Browse files Browse the repository at this point in the history
  • Loading branch information
kerchner committed Jun 4, 2024
1 parent 020ad50 commit 99cbb75
Showing 1 changed file with 1 addition and 10 deletions.
11 changes: 1 addition & 10 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ a separate user for the app, but it is not necessary. That user will need to ow
/opt/scholarspace/certs
/opt/scholarspace/scholarspace-tmp
/opt/scholarspace/scholarspace-minter
/opt/scholarspace/scholarspace-ingest
```
6. In `/opt/scholarspace/scholarspace-hyrax` run `cp example.env .env` to create the local environment file.
7. Edit `.env` to add the following values:
Expand Down Expand Up @@ -174,16 +175,6 @@ echo $CR_PAT | docker login ghcr.io -u [USERNAME] --password-stdin
## Setting up a new production instance
### (Optional) Install etd-loader
* Install the **etd-loader** application in `/opt/etd-loader` as per instructions at https://github.com/gwu-libraries/etd-loader
* When configuring `config.py`, ensure that it contains the following values:
```
ingest_path = "/opt/scholarspace/scholarspace-hyrax"
ingest_command = "rake RAILS_ENV=production gwss:ingest_etd"
```
### Migrating Production Database
In the app-server container (i.e. through `docker exec -it scholarspace-hyrax_app-server_1 /bin/sh`, followed by `su scholarspace`), run:
Expand Down

0 comments on commit 99cbb75

Please sign in to comment.