Skip to content

Commit

Permalink
Merge branch 'v1.0.1-1'
Browse files Browse the repository at this point in the history
  • Loading branch information
agh2342 committed Jun 20, 2021
2 parents 37f2fae + 831da9e commit 147377a
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1 +1,30 @@
# eXist-db Config
This repo contains eXist-db configuration files implementing [Production Use - Good Practice](https://exist-db.org/exist/apps/doc/production_good_practice). Configuration files are located in a subdirectory per eXist-db version (e.g. `./v5.1.1/`). Diffs to the original release files are kept to a minimum.

It also includes a python script that takes care of backing up and overwriting target files.

## Prepare
```
git clone https://github.com/eXistSolutions/existdb-config.git
cd existdb-config
```

## Usage (python - with backup)
```
./existdb-config.py -s ./v5.1.1/ -t ../exist-distribution-5.1.1/
```

This will
* create a timestamped backup tar file named `existdb-config_${timestamp}.tar` in the target folder `../exist-distribution-5.1.1/`
* copy over config fragments for a eXist-db 5.1.1

To undo the changes extract the backup tar archive at its location.
```
cd ../exist-distribution-5.1.1/
tar xf existdb-config_${timestamp}.tar
```

## Usage (manual - NO backup)
```
cp -a ./v5.1.1/ ../exist-distribution-5.1.1/
```

0 comments on commit 147377a

Please # to comment.